/external/strace/ |
D | net.c | 309 uint32_t cmsg_len; member 549 size_t cmsg_len = in printcmsghdr() local 551 (current_wordsize < sizeof(long)) ? u.cmsg32->cmsg_len : in printcmsghdr() 553 u.cmsg->cmsg_len; in printcmsghdr() 567 tprintf("{cmsg_len=%lu, cmsg_level=", (unsigned long) cmsg_len); in printcmsghdr() 571 if (cmsg_len > len) in printcmsghdr() 572 cmsg_len = len; in printcmsghdr() 576 cmsg_len > cmsg_size ? cmsg_len - cmsg_size: 0); in printcmsghdr() 579 if (cmsg_len < cmsg_size) { in printcmsghdr() 583 cmsg_len = (cmsg_len + current_wordsize - 1) & in printcmsghdr() [all …]
|
/external/iproute2/include/ |
D | bpf_scm.h | 55 cmsg->cmsg_len = msg->hdr.msg_controllen; in bpf_map_set_init() 72 cmsg->cmsg_len = msg->hdr.msg_controllen; in bpf_map_set_init_single()
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux.cc | 70 cmsg->cmsg_len = CMSG_LEN(sizeof(int) * fds.size()); in SendMsg() 72 msg.msg_controllen = cmsg->cmsg_len; in SendMsg() 140 const unsigned payload_len = cmsg->cmsg_len - CMSG_LEN(0); in RecvMsgWithFlags()
|
/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/strace/tests/ |
D | inet-cmsg.c | 66 const size_t len = c->cmsg_len - CMSG_ALIGN(sizeof(*c)); in print_opts() 163 c->cmsg_len); in main()
|
D | scm_rights.c | 75 control.cmsg.cmsg_len = CMSG_LEN(sizeof(fds)); in main()
|
/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/google-breakpad/src/client/linux/crash_generation/ |
D | crash_generation_client.cc | 71 hdr->cmsg_len = CMSG_LEN(sizeof(int)); in RequestDump()
|
D | crash_generation_server.cc | 234 const unsigned len = hdr->cmsg_len - in ClientEvent()
|
/external/iputils/ |
D | ping6.c | 210 cmsg->cmsg_len = sizeof(struct cmsghdr) + sizeof(struct ip6_rthdr0); in inet6_srcrt_init() 223 cmsg->cmsg_len += sizeof(struct in6_addr); in inet6_srcrt_add() 848 srcrt->cmsg_len = CMSG_LEN(space); in main() 1048 cmsg->cmsg_len = CMSG_LEN(sizeof(*ipi)); in main() 1212 freq_len = CMSG_ALIGN(sizeof(*freq)) + srcrt->cmsg_len; in main() 1222 memcpy(freq_buf + CMSG_ALIGN(sizeof(*freq)), srcrt, srcrt->cmsg_len); in main() 1605 if (c->cmsg_len < CMSG_LEN(sizeof(int))) in parse_reply()
|
D | ping.c | 111 int cmsg_len; variable 439 cmsg_len = sizeof(cmsg); in main() 759 m.msg_controllen = cmsg_len; in send_probe() 818 if (cmsg->cmsg_len < sizeof(int)) in parse_reply() 823 optlen = cmsg->cmsg_len; in parse_reply()
|
D | ping_common.c | 837 if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval))) in main_loop()
|
/external/avahi/avahi-core/ |
D | socket.c | 521 cmsg->cmsg_len = msg.msg_controllen; in avahi_send_dns_packet_ipv4() 550 cmsg->cmsg_len = msg.msg_controllen; in avahi_send_dns_packet_ipv4() 607 cmsg->cmsg_len = msg.msg_controllen; in avahi_send_dns_packet_ipv6()
|
/external/iputils/ninfod/ |
D | ninfod.c | 360 cmsg->cmsg_len = CMSG_LEN(sizeof(p->pktinfo)); in ni_send() 363 msgh.msg_controllen = cmsg->cmsg_len; in ni_send()
|
/external/iproute2/examples/bpf/ |
D | bpf_agent.c | 193 min_fd = (cmsg->cmsg_len - sizeof(*cmsg)) / sizeof(fd); in bpf_map_set_recv()
|
/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() 972 const unsigned len = hdr->cmsg_len - in TEST()
|
/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/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 409 unsigned cmsg_len; member 424 uptr cmsg_len; member
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 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/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/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()
|
/external/iproute2/lib/ |
D | libnetlink.c | 527 cmsg->cmsg_len == CMSG_LEN(sizeof(int))) { in rtnl_listen()
|