/external/chromium_org/mojo/embedder/ |
D | platform_channel_utils_posix.cc | 94 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/ |
D | fdleak_cmsg.c | 70 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/ |
D | unix_domain_socket_linux.cc | 62 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/ |
D | quic_socket_utils.cc | 160 cmsg->cmsg_len = CMSG_LEN(sizeof(in_pktinfo)); in SetIpInfoInCmsg() 169 cmsg->cmsg_len = CMSG_LEN(sizeof(in6_pktinfo)); in SetIpInfoInCmsg()
|
/external/strace/tests/ |
D | scm_rights.c | 51 cmsg->cmsg_len = CMSG_LEN(sizeof fd); in main()
|
/external/dhcpcd/ |
D | ipv6rs.c | 209 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()
|
D | lpf.c | 177 unsigned char cmsgbuf[CMSG_LEN(sizeof(struct tpacket_auxdata))]; in get_raw_packet()
|
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
D | test_util.h | 271 msg.msg_controllen = CMSG_LEN(sizeof(int)); in SendFd() 274 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendFd()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_sock_util.c | 126 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/ |
D | socket.h | 387 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l)) macro
|
/external/chromium_org/ipc/ |
D | ipc_channel_posix.cc | 434 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/ |
D | forward.c | 71 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()
|
D | dhcp.c | 298 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo)); in dhcp_packet()
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 689 #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/ |
D | tsan_platform_linux.cc | 396 int n = (cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(fds[0]); in ExtractRecvmsgFDs()
|
/external/strace/ |
D | net.c | 328 && 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/ |
D | sctp_os_userspace.h | 248 #ifndef CMSG_LEN 249 #define CMSG_LEN(x) WSA_CMSG_LEN(x) macro
|
/external/iputils/ |
D | ping6.c | 848 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()
|
D | ping_common.c | 837 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
|
/external/openssl/crypto/bio/ |
D | bss_dgram.c | 1280 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/ |
D | sandbox_ipc_linux.cc | 435 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in SendRendererReply()
|
/external/libnl/lib/ |
D | nl.c | 265 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in nl_send_iovec()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 596 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); 656 cm->cmsg_len = CMSG_LEN(sizeof(struct in_pktinfo));
|
/external/iputils/ninfod/ |
D | ninfod.c | 360 cmsg->cmsg_len = CMSG_LEN(sizeof(p->pktinfo)); in ni_send()
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 545 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()
|