Home
last modified time | relevance | path

Searched refs:cmsg_level (Results 1 – 25 of 70) sorted by relevance

123

/external/compiler-rt/test/msan/Linux/
Dcmsghdr.cc59 cmsg->cmsg_level = SOL_SOCKET; in main()
64 __msan_poison(&cmsg->cmsg_level, sizeof(cmsg->cmsg_level)); in main()
79 cmsg->cmsg_level = SOL_SOCKET; in main()
84 __msan_poison(&cmsg->cmsg_level, sizeof(cmsg->cmsg_level)); in main()
/external/strace/tests/
Dmsg_control.c106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1()
107 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1()
163 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
171 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2()
172 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
211 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3()
247 const int cmsg_level, in test_scm_security() argument
259 cmsg->cmsg_level = cmsg_level; in test_scm_security()
291 const int cmsg_level, in test_unknown_type() argument
298 cmsg->cmsg_level = cmsg_level; in test_unknown_type()
[all …]
Dscm_rights.c77 cmsg->cmsg_level = SOL_SOCKET; in main()
/external/strace/tests-m32/
Dmsg_control.c106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1()
107 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1()
163 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
171 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2()
172 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
211 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3()
247 const int cmsg_level, in test_scm_security() argument
259 cmsg->cmsg_level = cmsg_level; in test_scm_security()
291 const int cmsg_level, in test_unknown_type() argument
298 cmsg->cmsg_level = cmsg_level; in test_unknown_type()
[all …]
Dscm_rights.c77 cmsg->cmsg_level = SOL_SOCKET; in main()
/external/strace/tests-mx32/
Dmsg_control.c106 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1()
107 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1()
163 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
171 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2()
172 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2()
211 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3()
247 const int cmsg_level, in test_scm_security() argument
259 cmsg->cmsg_level = cmsg_level; in test_scm_security()
291 const int cmsg_level, in test_unknown_type() argument
298 cmsg->cmsg_level = cmsg_level; in test_unknown_type()
[all …]
Dscm_rights.c77 cmsg->cmsg_level = SOL_SOCKET; in main()
/external/strace/
Dmsghdr.c45 int cmsg_level; member
208 print_cmsg_type_data(struct tcb *tcp, const int cmsg_level, const int cmsg_type, in print_cmsg_type_data() argument
212 switch (cmsg_level) { in print_cmsg_type_data()
287 const int cmsg_level = in decode_msg_control() local
289 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_level : in decode_msg_control()
291 u.cmsg->cmsg_level; in decode_msg_control()
301 printxval(socketlayers, cmsg_level, "SOL_???"); in decode_msg_control()
306 print_cmsg_type_data(tcp, cmsg_level, cmsg_type, in decode_msg_control()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c587 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
602 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
614 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
634 if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
639 else if (cmptr->cmsg_level == IPPROTO_IP && in recvfrom_flags()
647 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags()
666 if (cmptr->cmsg_level == IPPROTO_IPV6 && in recvfrom_flags()
/external/libmojo/mojo/edk/embedder/
Dplatform_channel_utils_posix.cc105 cmsg->cmsg_level = SOL_SOCKET; in PlatformChannelSendmsgWithHandles()
132 cmsg->cmsg_level = SOL_SOCKET; in PlatformChannelSendHandles()
181 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in PlatformChannelRecvmsg()
/external/libchrome/base/posix/
Dunix_domain_socket_linux.cc68 cmsg->cmsg_level = SOL_SOCKET; in SendMsg()
141 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
151 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
/external/ltp/utils/sctp/lib/
Dsendmsg.c54 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendmsg()
97 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_send()
Drecvmsg.c91 if ((IPPROTO_SCTP == cmsg->cmsg_level) && in sctp_recvmsg()
/external/valgrind/none/tests/
Dfdleak_cmsg.c68 cmsg->cmsg_level = SOL_SOCKET; in server()
132 if (cmsg->cmsg_level == SOL_SOCKET && in client()
/external/ltp/testcases/network/lib6/
Dasapi_03.c228 pcmsg->cmsg_level = cmtab[i].cm_level; in sendall()
352 gotone = pcmsg->cmsg_level == SOL_IPV6 && in so_test()
359 psoe->so_tname, pcmsg->cmsg_level, in so_test()
/external/dnsmasq/src/
Dtftp.c100 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in tftp_request()
108 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request()
110 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request()
116 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in tftp_request()
118 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in tftp_request()
Dforward.c72 cmptr->cmsg_level = SOL_IP; in send_from()
78 cmptr->cmsg_level = IPPROTO_IP; in send_from()
90 cmptr->cmsg_level = IPV6_LEVEL; in send_from()
652 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) in receive_query()
661 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in receive_query()
663 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in receive_query()
676 if (cmptr->cmsg_level == IPV6_LEVEL && cmptr->cmsg_type == IPV6_PKTINFO) in receive_query()
/external/ipsec-tools/src/racoon/
Dsockmisc.c441 "cmsg %d %d\n", cm->cmsg_level, cm->cmsg_type);)
445 && cm->cmsg_level == IPPROTO_IPV6
471 && cm->cmsg_level == IPPROTO_IP
489 && cm->cmsg_level == IPPROTO_IPV6
507 && cm->cmsg_level == IPPROTO_IP
608 cm->cmsg_level = IPPROTO_IPV6;
668 cm->cmsg_level = IPPROTO_IP;
/external/ltp/utils/sctp/func_tests/
Dtest_assoc_shutdown.c126 cmsg->cmsg_level = IPPROTO_SCTP; in main()
190 cmsg->cmsg_level = IPPROTO_SCTP; in main()
Dtest_assoc_abort.c126 cmsg->cmsg_level = IPPROTO_SCTP; in main()
189 cmsg->cmsg_level = IPPROTO_SCTP; in main()
Dtest_inaddr_any.c158 cmsg->cmsg_level = IPPROTO_SCTP; in main()
206 cmsg->cmsg_level = IPPROTO_SCTP; in main()
Dtest_1_to_1_sendmsg.c136 cmsg->cmsg_level = IPPROTO_SCTP; in main()
294 cmsg->cmsg_level = IPPROTO_SCTP; in main()
Dtest_timetolive.c200 cmsg->cmsg_level = IPPROTO_SCTP; in main()
274 cmsg->cmsg_level = IPPROTO_SCTP; in main()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_client.cc69 hdr->cmsg_level = SOL_SOCKET; in RequestDump()
/external/iproute2/include/
Dbpf_scm.h56 cmsg->cmsg_level = SOL_SOCKET; in bpf_map_set_init()

123