/external/strace/tests/ |
D | scm_rights.c | 70 char buf[CMSG_LEN(sizeof(fds))]; in main() 75 control.cmsg.cmsg_len = CMSG_LEN(sizeof(fds)); in main()
|
/external/avahi/avahi-daemon/ |
D | chroot.c | 136 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(int)); in send_fd() 176 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(int)); in recv_fd() 198 assert(h->cmsg_len = CMSG_LEN(sizeof(int))); in recv_fd()
|
/external/valgrind/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/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendMsg() 140 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags()
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 71 hdr->cmsg_len = CMSG_LEN(sizeof(int)); in RequestDump()
|
/external/iproute2/include/ |
D | bpf_scm.h | 67 msg->hdr.msg_controllen = CMSG_LEN(sizeof(int) * num); in bpf_map_set_init_single()
|
/external/avahi/avahi-core/ |
D | socket.c | 518 msg.msg_controllen = CMSG_LEN(sizeof(struct in_pktinfo)); in avahi_send_dns_packet_ipv4() 547 msg.msg_controllen = CMSG_LEN(sizeof(struct in_addr)); in avahi_send_dns_packet_ipv4() 604 msg.msg_controllen = CMSG_LEN(sizeof(struct in6_pktinfo)); in avahi_send_dns_packet_ipv6()
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 120 # ifndef CMSG_LEN 121 # define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len)) macro 357 _dbus_assert(cm->cmsg_len <= CMSG_LEN(*n_fds * sizeof(int))); in _dbus_read_socket_with_unix_fds() 358 *n_fds = (cm->cmsg_len - CMSG_LEN(0)) / sizeof(int); in _dbus_read_socket_with_unix_fds() 464 cm->cmsg_len = CMSG_LEN(n_fds * sizeof(int)); in _dbus_write_socket_with_unix_fds_two() 1619 cmsg.hdr.cmsg_len = CMSG_LEN (sizeof (struct cmsgcred)); in write_credentials_byte() 1781 if (cmsg.hdr.cmsg_len < CMSG_LEN (sizeof (struct cmsgcred)) in _dbus_read_credentials_socket()
|
/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/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_linux.cc | 335 int n = (cmsg->cmsg_len - CMSG_LEN(0)) / sizeof(fds[0]); in ExtractRecvmsgFDs()
|
/external/mdnsresponder/mDNSShared/ |
D | dnssd_clientstub.c | 690 #undef CMSG_LEN in deliver_request() 691 #define CMSG_LEN(l) ((sizeof(struct cmsghdr)) + (l)) in deliver_request() 719 msg.msg_controllen = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request() 722 cmsg->cmsg_len = CMSG_LEN(sizeof(dnssd_sock_t)); in deliver_request() 735 CMSG_LEN(sizeof(dnssd_sock_t)), (long)CMSG_SPACE(sizeof(dnssd_sock_t)), in deliver_request()
|
/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/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/libnl/lib/ |
D | nl.c | 265 cmsg->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in nl_send_iovec()
|
/external/google-breakpad/src/client/linux/handler/ |
D | exception_handler_unittest.cc | 906 hdr->cmsg_len = CMSG_LEN(sizeof(int)); in CrashHandler() 911 hdr->cmsg_len = CMSG_LEN(sizeof(struct ucred)); in CrashHandler()
|
/external/iputils/ninfod/ |
D | ninfod.c | 360 cmsg->cmsg_len = CMSG_LEN(sizeof(p->pktinfo)); in ni_send()
|
/external/dhcpcd-6.8.2/ |
D | ipv6nd.c | 293 cm->cmsg_len = CMSG_LEN(sizeof(pi)); in ipv6nd_sendrsprobe() 1669 if (cm->cmsg_len == CMSG_LEN(sizeof(pkt))) in ipv6nd_handledata() 1673 if (cm->cmsg_len == CMSG_LEN(sizeof(int))) in ipv6nd_handledata()
|
D | if-linux.c | 1245 unsigned char cmsgbuf[CMSG_LEN(sizeof(struct tpacket_auxdata))]; in if_readrawpacket()
|
D | dhcp6.c | 1154 cm->cmsg_len = CMSG_LEN(sizeof(pi)); in dhcp6_sendmessage() 2649 if (cm->cmsg_len == CMSG_LEN(sizeof(pkt))) in dhcp6_handledata()
|
/external/iproute2/lib/ |
D | libnetlink.c | 527 cmsg->cmsg_len == CMSG_LEN(sizeof(int))) { in rtnl_listen()
|
/external/dbus/ |
D | NEWS | 287 · Define CMSG_ALIGN, CMSG_LEN, CMSG_SPACE on Solaris < 10
|
/external/libpcap/ |
D | pcap-linux.c | 1727 if (cmsg->cmsg_len < CMSG_LEN(sizeof(struct tpacket_auxdata)) ||
|
/external/netperf/src/ |
D | nettest_omni.c | 2864 cmsg->cmsg_len = CMSG_LEN(sizeof(in_pktinfo)); in send_pktinfo()
|