/external/strace/tests-m32/ |
D | msg_control.c | 108 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1() 109 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1() 165 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 173 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2() 174 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 213 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3() 240 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 263 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 285 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() 308 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() [all …]
|
/external/strace/tests-mx32/ |
D | msg_control.c | 108 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1() 109 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1() 165 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 173 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2() 174 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 213 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3() 240 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 263 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 285 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() 308 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() [all …]
|
/external/strace/tests/ |
D | msg_control.c | 108 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights1() 109 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights1() 165 cmsg[0]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 173 if (msg_controllen >= MIN_SIZE_OF(struct cmsghdr, cmsg_level)) in test_scm_rights2() 174 cmsg[1]->cmsg_level = SOL_SOCKET; in test_scm_rights2() 213 cmsg->cmsg_level = SOL_SOCKET; in test_scm_rights3() 240 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 263 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestamp() 285 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() 308 cmsg->cmsg_level = SOL_SOCKET; in test_scm_timestampns() [all …]
|
/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/ |
D | msghdr.c | 47 int cmsg_level; member 236 print_cmsg_type_data(struct tcb *tcp, const int cmsg_level, const int cmsg_type, in print_cmsg_type_data() argument 240 switch (cmsg_level) { in print_cmsg_type_data() 315 const int cmsg_level = in decode_msg_control() local 317 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_level : in decode_msg_control() 319 u.cmsg->cmsg_level; in decode_msg_control() 329 printxval(socketlayers, cmsg_level, "SOL_???"); in decode_msg_control() 334 print_cmsg_type_data(tcp, cmsg_level, cmsg_type, in decode_msg_control()
|
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/ |
D | txtimestamp.c | 191 if (cm->cmsg_level == SOL_SOCKET && in __recv_errmsg_cmsg() 194 } else if ((cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg() 196 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 206 } else if (cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg() 211 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg() 218 cm->cmsg_level, cm->cmsg_type); in __recv_errmsg_cmsg()
|
/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/linux-kselftest/tools/testing/selftests/net/ |
D | msg_zerocopy.c | 179 cm->cmsg_level = SOL_RDS; in add_zcopy_cookie() 379 if (cmsg->cmsg_level == SOL_RDS && in do_recvmsg_completion() 388 cmsg->cmsg_level, cmsg->cmsg_type); in do_recvmsg_completion() 419 if (!((cm->cmsg_level == SOL_IP && cm->cmsg_type == IP_RECVERR) || in do_recv_completion() 420 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion() 421 (cm->cmsg_level == SOL_PACKET && cm->cmsg_type == PACKET_TX_TIMESTAMP))) in do_recv_completion() 423 cm->cmsg_level, cm->cmsg_type); in do_recv_completion()
|
/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/wpa_supplicant_8/src/crypto/ |
D | crypto_linux.c | 467 hdr->cmsg_level = SOL_ALG; in linux_af_alg_skcipher_oper() 569 hdr->cmsg_level = SOL_ALG; in rc4_skip() 642 hdr->cmsg_level = SOL_ALG; in des_encrypt() 703 hdr->cmsg_level = SOL_ALG; in aes_128_cbc_oper() 710 hdr->cmsg_level = SOL_ALG; in aes_128_cbc_oper() 812 hdr->cmsg_level = SOL_ALG; in aes_unwrap() 819 hdr->cmsg_level = SOL_ALG; in aes_unwrap() 908 hdr->cmsg_level = SOL_ALG; in crypto_cipher_init() 948 hdr->cmsg_level = SOL_ALG; in crypto_cipher_oper()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | multiprocessing.c | 129 cmsg->cmsg_level = SOL_SOCKET; in multiprocessing_sendfd() 168 cmsg->cmsg_level = SOL_SOCKET; in multiprocessing_recvfd() 182 cmsg->cmsg_level != SOL_SOCKET || in multiprocessing_recvfd()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket.cc | 88 cmsg->cmsg_level = SOL_SOCKET; in SendMsg() 172 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in RecvMsgWithFlags() 181 if (cmsg->cmsg_level == SOL_SOCKET && in RecvMsgWithFlags()
|
/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/adhd/cras/src/common/ |
D | cras_util.c | 118 cmsg->cmsg_level = SOL_SOCKET; in cras_send_with_fds() 159 if (cmsg->cmsg_level == SOL_SOCKET in cras_recv_with_fds()
|
/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/linux-kselftest/tools/testing/selftests/android/ion/ |
D | ipcsocket.c | 145 cmsg->cmsg_level = SOL_SOCKET; in sendtosocket() 198 cmsg->cmsg_level = SOL_SOCKET; in receivefromsocket()
|
/external/libchrome/mojo/public/cpp/platform/ |
D | socket_utils_posix.cc | 119 cmsg->cmsg_level = SOL_SOCKET; in SendmsgWithHandles() 154 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in SocketRecvmsg()
|
/external/dnsmasq/src/ |
D | forward.c | 67 cmptr->cmsg_level = SOL_IP; in send_from() 73 cmptr->cmsg_level = IPPROTO_IP; in send_from() 84 cmptr->cmsg_level = IPV6_LEVEL; in send_from() 560 if (cmptr->cmsg_level == SOL_IP && cmptr->cmsg_type == IP_PKTINFO) { in receive_query() 568 if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVDSTADDR) in receive_query() 570 else if (cmptr->cmsg_level == IPPROTO_IP && cmptr->cmsg_type == IP_RECVIF) in receive_query() 578 if (cmptr->cmsg_level == IPV6_LEVEL && cmptr->cmsg_type == IPV6_PKTINFO) { in receive_query()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_assoc_abort.c | 126 cmsg->cmsg_level = IPPROTO_SCTP; in main() 189 cmsg->cmsg_level = IPPROTO_SCTP; in main()
|
D | test_assoc_shutdown.c | 126 cmsg->cmsg_level = IPPROTO_SCTP; in main() 190 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()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 69 hdr->cmsg_level = SOL_SOCKET; in RequestDump()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | reduction.py | 162 cmsg_level, cmsg_type, cmsg_data = ancdata[0] 163 if (cmsg_level == socket.SOL_SOCKET and
|
/external/iproute2/include/ |
D | bpf_scm.h | 57 cmsg->cmsg_level = SOL_SOCKET; in bpf_map_set_init()
|