Home
last modified time | relevance | path

Searched refs:CMSG_LEN (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/mojo/embedder/
Dplatform_channel_utils_posix.cc94 msg.msg_controllen = CMSG_LEN(num_platform_handles * sizeof(int)); in PlatformChannelSendmsgWithHandles()
98 cmsg->cmsg_len = CMSG_LEN(num_platform_handles * sizeof(int)); in PlatformChannelSendmsgWithHandles()
121 msg.msg_controllen = CMSG_LEN(num_handles * sizeof(int)); in PlatformChannelSendHandles()
125 cmsg->cmsg_len = CMSG_LEN(num_handles * sizeof(int)); in PlatformChannelSendHandles()
171 size_t payload_length = cmsg->cmsg_len - CMSG_LEN(0); in PlatformChannelRecvmsg()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * 2); in server()
134 cmsg->cmsg_len == CMSG_LEN(sizeof(int) * 2)) { in client()
/external/chromium_org/base/posix/
Dunix_domain_socket_linux.cc62 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendMsg()
125 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags()
/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc160 cmsg->cmsg_len = CMSG_LEN(sizeof(in_pktinfo)); in SetIpInfoInCmsg()
169 cmsg->cmsg_len = CMSG_LEN(sizeof(in6_pktinfo)); in SetIpInfoInCmsg()
/external/strace/tests/
Dscm_rights.c51 cmsg->cmsg_len = CMSG_LEN(sizeof fd); in main()
/external/dhcpcd/
Dipv6rs.c209 cm->cmsg_len = CMSG_LEN(sizeof(pi)); in ipv6rs_sendprobe()
218 cm->cmsg_len = CMSG_LEN(sizeof(hoplimit)); in ipv6rs_sendprobe()
315 if (cm->cmsg_len == CMSG_LEN(sizeof(pkt))) in ipv6rs_handledata()
319 if (cm->cmsg_len == CMSG_LEN(sizeof(int))) in ipv6rs_handledata()
Dlpf.c177 unsigned char cmsgbuf[CMSG_LEN(sizeof(struct tpacket_auxdata))]; in get_raw_packet()
/external/chromium_org/third_party/android_crazy_linker/src/tests/
Dtest_util.h271 msg.msg_controllen = CMSG_LEN(sizeof(int)); in SendFd()
274 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendFd()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c126 cmsg->cmsg_len = CMSG_LEN(sizeof send_fd); in sock_send_fd()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsocket.h387 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l)) macro
/external/chromium_org/ipc/
Dipc_channel_posix.cc434 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * num_fds); in ProcessOutgoingMessages()
921 unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in ExtractFileDescriptorsFromMsghdr()
/external/dnsmasq/src/
Dforward.c71 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in send_from()
77 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_addr)); in send_from()
88 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_from()
Ddhcp.c298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
/external/mdnsresponder/mDNSShared/
Ddnssd_clientstub.c689 #undef CMSG_LEN in deliver_request()
690 #define CMSG_LEN(l) ((sizeof(struct cmsghdr)) + (l)) in deliver_request()
718 msg.msg_controllen = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request()
721 cmsg->cmsg_len = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request()
734 CMSG_LEN(sizeof(dnssd_sock_t)), (long)CMSG_SPACE(sizeof(dnssd_sock_t)), in deliver_request()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_linux.cc396 int n = (cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(fds[0]); in ExtractRecvmsgFDs()
/external/strace/
Dnet.c328 && CMSG_LEN(sizeof(int)) <= cmsg_len) { in printcmsghdr()
344 && CMSG_LEN(sizeof(struct ucred)) <= cmsg_len) { in printcmsghdr()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h248 #ifndef CMSG_LEN
249 #define CMSG_LEN(x) WSA_CMSG_LEN(x) macro
/external/iputils/
Dping6.c848 srcrt->cmsg_len = CMSG_LEN(space); in main()
1048 cmsg->cmsg_len = CMSG_LEN(sizeof(*ipi)); in main()
1605 if (c->cmsg_len < CMSG_LEN(sizeof(int))) in parse_reply()
Dping_common.c837 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
/external/openssl/crypto/bio/
Dbss_dgram.c1280 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndinfo)); in dgram_sctp_write()
1292 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_prinfo)); in dgram_sctp_write()
1302 cmsg->cmsg_len = CMSG_LEN(sizeof(struct sctp_sndrcvinfo)); in dgram_sctp_write()
/external/chromium_org/content/browser/renderer_host/
Dsandbox_ipc_linux.cc435 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendRendererReply()
/external/libnl/lib/
Dnl.c265 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in nl_send_iovec()
/external/ipsec-tools/src/racoon/
Dsockmisc.c596 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo));
656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
/external/iputils/ninfod/
Dninfod.c360 cmsg->cmsg_len = CMSG_LEN(sizeof(p->pktinfo)); in ni_send()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c545 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_raw6()
914 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_udp6()

12