/external/compiler-rt/test/msan/Linux/ |
D | cmsghdr.cc | 59 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/ |
D | msg_control.c | 106 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 …]
|
D | scm_rights.c | 77 cmsg->cmsg_level = SOL_SOCKET; in main()
|
/external/strace/tests-m32/ |
D | msg_control.c | 106 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 …]
|
D | scm_rights.c | 77 cmsg->cmsg_level = SOL_SOCKET; in main()
|
/external/strace/tests-mx32/ |
D | msg_control.c | 106 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 …]
|
D | scm_rights.c | 77 cmsg->cmsg_level = SOL_SOCKET; in main()
|
/external/strace/ |
D | msghdr.c | 45 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/ |
D | mDNSUNP.c | 587 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/ |
D | platform_channel_utils_posix.cc | 105 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/ |
D | unix_domain_socket_linux.cc | 68 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/ |
D | sendmsg.c | 54 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_sendmsg() 97 cmsg->cmsg_level = IPPROTO_SCTP; in sctp_send()
|
D | recvmsg.c | 91 if ((IPPROTO_SCTP == cmsg->cmsg_level) && in sctp_recvmsg()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 68 cmsg->cmsg_level = SOL_SOCKET; in server() 132 if (cmsg->cmsg_level == SOL_SOCKET && in client()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_03.c | 228 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/ |
D | tftp.c | 100 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()
|
D | forward.c | 72 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/ |
D | sockmisc.c | 441 "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/ |
D | test_assoc_shutdown.c | 126 cmsg->cmsg_level = IPPROTO_SCTP; in main() 190 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_assoc_abort.c | 126 cmsg->cmsg_level = IPPROTO_SCTP; in main() 189 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_inaddr_any.c | 158 cmsg->cmsg_level = IPPROTO_SCTP; in main() 206 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_1_to_1_sendmsg.c | 136 cmsg->cmsg_level = IPPROTO_SCTP; in main() 294 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_timetolive.c | 200 cmsg->cmsg_level = IPPROTO_SCTP; in main() 274 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 69 hdr->cmsg_level = SOL_SOCKET; in RequestDump()
|
/external/iproute2/include/ |
D | bpf_scm.h | 56 cmsg->cmsg_level = SOL_SOCKET; in bpf_map_set_init()
|