Home
last modified time | relevance | path

Searched defs:cmsg (Results 1 – 25 of 102) sorted by relevance

12345

/external/strace/tests-mx32/
Dmsg_control.c67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds()
104 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_rights1() local
160 struct cmsghdr *const cmsg[2] = { in test_scm_rights2() local
210 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_rights3() local
237 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamp() local
282 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestampns() local
328 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamping() local
380 print_security(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_security()
404 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_security() local
443 struct cmsghdr *cmsg = get_cmsghdr(page, CMSG_LEN(0)); in test_unknown_type() local
[all …]
Dscm_rights.c76 struct cmsghdr *cmsg = tail_alloc(cmsg_size); in main() local
/external/strace/tests-m32/
Dmsg_control.c67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds()
104 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_rights1() local
160 struct cmsghdr *const cmsg[2] = { in test_scm_rights2() local
210 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_rights3() local
237 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamp() local
282 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestampns() local
328 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamping() local
380 print_security(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_security()
404 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_security() local
443 struct cmsghdr *cmsg = get_cmsghdr(page, CMSG_LEN(0)); in test_unknown_type() local
[all …]
Dscm_rights.c76 struct cmsghdr *cmsg = tail_alloc(cmsg_size); in main() local
/external/strace/tests/
Dmsg_control.c67 print_fds(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_fds()
104 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_rights1() local
160 struct cmsghdr *const cmsg[2] = { in test_scm_rights2() local
210 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_rights3() local
237 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamp() local
282 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestampns() local
328 struct cmsghdr *cmsg = get_cmsghdr(page, len); in test_scm_timestamping() local
380 print_security(const struct cmsghdr *const cmsg, const size_t cmsg_len) in print_security()
404 struct cmsghdr *cmsg = get_cmsghdr(page, msg_controllen); in test_scm_security() local
443 struct cmsghdr *cmsg = get_cmsghdr(page, CMSG_LEN(0)); in test_unknown_type() local
[all …]
Dscm_rights.c76 struct cmsghdr *cmsg = tail_alloc(cmsg_size); in main() local
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_udp_socket_posix.cc74 cmsghdr* cmsg) { in SetV4SelfIpInControlMessage()
85 cmsghdr* cmsg) { in SetV6SelfIpInControlMessage()
93 void PopulatePacketInfoFromControlMessage(struct cmsghdr* cmsg, in PopulatePacketInfoFromControlMessage()
187 cmsghdr** cmsg /*in, out*/) { in NextCmsg()
473 for (struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr); cmsg != nullptr; in ReadPacket() local
579 for (struct cmsghdr* cmsg = CMSG_FIRSTHDR(&hdr); cmsg != nullptr; in ReadMultiplePackets() local
628 cmsghdr* cmsg = nullptr; in WritePacket() local
Dquic_linux_socket_utils.cc125 cmsghdr*& cmsg = *GetCmsgHdr(i); in GetNextCmsgDataInternal() local
200 struct cmsghdr* cmsg; in GetTtlFromMsghdr() local
233 cmsghdr* cmsg) { in SetIpInfoInCmsg()
/external/ltp/utils/sctp/lib/
Dsendmsg.c39 struct cmsghdr *cmsg; in sctp_sendmsg() local
90 struct cmsghdr *cmsg; in sctp_send() local
Drecvmsg.c63 struct cmsghdr *cmsg = NULL; in sctp_recvmsg() local
/external/virglrenderer/src/proxy/
Dproxy_socket.c88 const struct cmsghdr *cmsg = CMSG_FIRSTHDR(msg); in get_received_fds() local
153 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in proxy_socket_receive_reply_internal() local
234 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in proxy_socket_send_request_internal() local
/external/linux-kselftest/tools/testing/selftests/android/ion/
Dipcsocket.c110 struct cmsghdr *cmsg; in sendtosocket() local
166 struct cmsghdr *cmsg; in receivefromsocket() local
/external/iproute2/include/
Dbpf_scm.h40 struct cmsghdr *cmsg; in bpf_map_set_init() local
66 struct cmsghdr *cmsg; in bpf_map_set_init_single() local
/external/virglrenderer/server/
Drender_socket.c68 const struct cmsghdr *cmsg = CMSG_FIRSTHDR(msg); in get_received_fds() local
136 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in render_socket_receive_request_internal() local
238 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in render_socket_send_reply_internal() local
/external/cronet/net/third_party/quiche/src/quiche/quic/platform/api/
Dquic_udp_socket_platform_api.h15 inline bool GetGooglePacketHeadersFromControlMessage( in GetGooglePacketHeadersFromControlMessage()
/external/libchrome/mojo/public/cpp/platform/
Dsocket_utils_posix.cc118 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in SendmsgWithHandles() local
152 for (cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); cmsg; in SocketRecvmsg() local
/external/linux-kselftest/tools/testing/selftests/net/
Dudpgso_bench_tx.c138 static void flush_cmsg(struct cmsghdr *cmsg) in flush_cmsg()
215 struct cmsghdr *cmsg; in flush_errqueue_recv() local
323 struct cmsghdr *cmsg; in send_udp_sendmmsg() local
380 struct cmsghdr *cmsg; in send_udp_segment() local
Dcmsg_so_mark.c15 struct cmsghdr *cmsg; in main() local
/external/python/cpython2/Modules/_multiprocessing/
Dmultiprocessing.c109 struct cmsghdr *cmsg; in multiprocessing_sendfd() local
149 struct cmsghdr *cmsg; in multiprocessing_recvfd() local
/external/cronet/net/third_party/quiche/src/quiche/common/platform/api/
Dquiche_udp_socket_platform_api.h17 inline bool GetGooglePacketHeadersFromControlMessage( in GetGooglePacketHeadersFromControlMessage()
/external/cronet/net/third_party/quiche/overrides/quiche_platform_impl/
Dquiche_udp_socket_platform_impl.h18 inline bool GetGooglePacketHeadersFromControlMessageImpl( in GetGooglePacketHeadersFromControlMessageImpl()
/external/musl/src/network/
Drecvmsg.c15 struct cmsghdr *cmsg, *last=0; in __convert_scm_timestamps() local
/external/compiler-rt/test/msan/Linux/
Dcmsghdr.cc51 struct cmsghdr *cmsg = (struct cmsghdr *)&controlbuf; in main() local
/external/rust/crates/nix/test/sys/
Dtest_socket.rs109 let mut cmsg = cmsg_space!(nix::sys::socket::Timestamps); in test_timestamping() localVariable
442 let cmsg = ControlMessage::UdpGsoSegments(&segment_size); in gso() localVariable
791 let cmsg = ControlMessage::ScmRights(&fds); in test_scm_rights() localVariable
1079 let cmsg = [ControlMessage::Ipv4PacketInfo(&pi)]; in test_sendmsg_ipv4packetinfo() localVariable
1132 let cmsg = [ControlMessage::Ipv6PacketInfo(&pi)]; in test_sendmsg_ipv6packetinfo() localVariable
1182 let cmsg = [ControlMessage::Ipv4SendSrcAddr( in test_sendmsg_ipv4sendsrcaddr() localVariable
1248 let cmsg = [ControlMessage::ScmRights(&fds)]; in test_scm_rights_single_cmsg_multiple_fds() localVariable
1340 let cmsg = ControlMessage::ScmCredentials(&cred); in test_scm_credentials() localVariable
1342 let cmsg = ControlMessage::ScmCreds; in test_scm_credentials() localVariable
2621 let cmsg = ControlMessage::TxTime(&txtime); in test_txtime() localVariable
/external/ltp/utils/sctp/testlib/
Dsctputil.c99 struct cmsghdr *cmsg; in test_print_message() local
282 struct cmsghdr *cmsg = NULL; in test_check_msg_data() local

12345