Home
last modified time | relevance | path

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

1234

/external/strace/tests/
Dmsg_control.c108 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-m32/
Dmsg_control.c108 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/
Dmsg_control.c108 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/
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/
Dmsghdr.c47 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/
Dtxtimestamp.c191 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/
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/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c179 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/
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/wpa_supplicant_8/src/crypto/
Dcrypto_linux.c467 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/
Dmultiprocessing.c129 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/
Dunix_domain_socket.cc88 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/
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/adhd/cras/src/common/
Dcras_util.c118 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/
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/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc119 cmsg->cmsg_level = SOL_SOCKET; in SendmsgWithHandles()
154 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) { in SocketRecvmsg()
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c145 cmsg->cmsg_level = SOL_SOCKET; in sendtosocket()
198 cmsg->cmsg_level = SOL_SOCKET; in receivefromsocket()
/external/dnsmasq/src/
Dforward.c67 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/
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()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_client.cc69 hdr->cmsg_level = SOL_SOCKET; in RequestDump()
/external/python/cpython3/Lib/multiprocessing/
Dreduction.py162 cmsg_level, cmsg_type, cmsg_data = ancdata[0]
163 if (cmsg_level == socket.SOL_SOCKET and
/external/iproute2/include/
Dbpf_scm.h57 cmsg->cmsg_level = SOL_SOCKET; in bpf_map_set_init()

1234