/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/ |
D | in6.h | 585 struct cmsghdr; 611 struct cmsghdr; 614 extern int inet6_option_init __P((void *, struct cmsghdr **, int)); 615 extern int inet6_option_append __P((struct cmsghdr *, const uint8_t *, 617 extern uint8_t *inet6_option_alloc __P((struct cmsghdr *, int, int, int)); 618 extern int inet6_option_next __P((const struct cmsghdr *, uint8_t **)); 619 extern int inet6_option_find __P((const struct cmsghdr *, uint8_t **, int)); 622 extern struct cmsghdr *inet6_rthdr_init __P((void *, int)); 623 extern int inet6_rthdr_add __P((struct cmsghdr *, const struct in6_addr *, 625 extern int inet6_rthdr_lasthop __P((struct cmsghdr *, unsigned int)); [all …]
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/ |
D | socket.h | 328 struct cmsghdr { struct 372 _ALIGN(sizeof(struct cmsghdr))) 377 _ALIGN(sizeof(struct cmsghdr)) > \ 379 (struct cmsghdr *)NULL : \ 380 (struct cmsghdr *)((caddr_t)(cmsg) + _ALIGN((cmsg)->cmsg_len))) 382 #define CMSG_FIRSTHDR(mhdr) ((struct cmsghdr *)(mhdr)->msg_control) 386 #define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l)) 387 #define CMSG_LEN(l) (_ALIGN(sizeof(struct cmsghdr)) + (l))
|
/external/clang/test/Sema/ |
D | darwin-align-cast.c | 8 struct cmsghdr {}; struct 13 cmsghdr)) + __DARWIN_ALIGN(l)) 21 …char control[(((__darwin_size_t)((char *)(sizeof(struct cmsghdr)) + (sizeof(__darwin_size_t) - 1))… in sendFileDescriptor()
|
/external/chromium_org/net/tools/quic/ |
D | quic_socket_utils.cc | 28 for (cmsghdr* cmsg = CMSG_FIRSTHDR(hdr); in GetAddressFromMsghdr() 57 struct cmsghdr *cmsg; in GetOverflowFromMsghdr() 121 struct cmsghdr *cmsg = (struct cmsghdr *) cbuf; in ReadPacket() 158 cmsghdr* cmsg) { in SetIpInfoInCmsg() 211 cmsghdr *cmsg = CMSG_FIRSTHDR(&hdr); in WritePacket()
|
D | quic_socket_utils.h | 73 cmsghdr* cmsg);
|
/external/strace/tests/ |
D | scm_rights.c | 13 struct cmsghdr cmsghdr; in main() member 48 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&mh); in main()
|
/external/valgrind/main/none/tests/ |
D | fdleak_cmsg.c | 58 struct cmsghdr *cmsg; in server() 90 struct cmsghdr cm; in client() 95 struct cmsghdr *cmsg = &control_un.cm; in client()
|
/external/chromium_org/mojo/embedder/ |
D | platform_channel_utils_posix.cc | 95 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in PlatformChannelSendmsgWithHandles() 122 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in PlatformChannelSendHandles() 168 for (cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); cmsg; in PlatformChannelRecvmsg()
|
/external/iputils/ |
D | ping6.c | 148 struct cmsghdr *srcrt; 196 return (sizeof(struct cmsghdr) + sizeof(struct ip6_rthdr0) + in inet6_srcrt_space() 200 extern struct cmsghdr * inet6_srcrt_init(void *bp, int type) in inet6_srcrt_init() 202 struct cmsghdr *cmsg; in inet6_srcrt_init() 207 memset(bp, 0, sizeof(struct cmsghdr) + sizeof(struct ip6_rthdr0)); in inet6_srcrt_init() 208 cmsg = (struct cmsghdr *) bp; in inet6_srcrt_init() 210 cmsg->cmsg_len = sizeof(struct cmsghdr) + sizeof(struct ip6_rthdr0); in inet6_srcrt_init() 217 int inet6_srcrt_add(struct cmsghdr *cmsg, const struct in6_addr *addr) in inet6_srcrt_add() 845 srcrt = (struct cmsghdr*)(cmsgbuf+cmsglen); in main() 1043 struct cmsghdr *cmsg; in main() [all …]
|
D | ping.c | 107 struct cmsghdr cm; 109 } cmsg = { {sizeof(struct cmsghdr) + sizeof(struct in_pktinfo), SOL_IP, IP_PKTINFO}, 614 struct cmsghdr *cmsg; in receive_error_msg() 791 struct cmsghdr *cmsg; in parse_reply()
|
/external/chromium_org/chrome/utility/image_writer/ |
D | image_writer_mac.cc | 129 const size_t kDataBufferSize = sizeof(struct cmsghdr) + sizeof(int); in OpenDevice() 148 struct cmsghdr* cmsg_socket_header = CMSG_FIRSTHDR(&message); in OpenDevice()
|
/external/ipsec-tools/src/racoon/ |
D | sockmisc.c | 388 struct cmsghdr *cm; 413 cm = (struct cmsghdr *)cmsgbuf; 425 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&m); 427 cm = (struct cmsghdr *)CMSG_NXTHDR(&m, cm)) { 561 struct cmsghdr *cm; 592 cm = (struct cmsghdr *)cmsgbuf; 633 struct cmsghdr *cm; 652 cm = (struct cmsghdr *)cmsgbuf;
|
/external/chromium_org/base/posix/ |
D | unix_domain_socket_linux.cc | 56 struct cmsghdr* cmsg; in SendMsg() 123 struct cmsghdr* cmsg; in RecvMsgWithFlags()
|
/external/dhcpcd/ |
D | ipv6rs.c | 193 struct cmsghdr *cm; in ipv6rs_sendprobe() 271 struct cmsghdr *cm; in ipv6rs_handledata() 307 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvhdr); in ipv6rs_handledata() 309 cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvhdr, cm)) in ipv6rs_handledata()
|
D | lpf.c | 178 struct cmsghdr *cmsg; in get_raw_packet()
|
/external/dnsmasq/src/ |
D | dhcp.c | 110 struct cmsghdr *cmptr; in dhcp_packet() 118 struct cmsghdr align; /* this ensures alignment */ in dhcp_packet() 174 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet() 184 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet() 191 if (msg.msg_controllen >= sizeof(struct cmsghdr)) in dhcp_packet()
|
D | forward.c | 36 struct cmsghdr align; /* this ensures alignment */ in send_from() 60 struct cmsghdr *cmptr; in send_from() 586 struct cmsghdr *cmptr; in receive_query() 588 struct cmsghdr align; /* this ensures alignment */ in receive_query() 646 if (msg.msg_controllen < sizeof(struct cmsghdr)) in receive_query()
|
D | tftp.c | 59 struct cmsghdr align; /* this ensures alignment */ in tftp_request() 94 struct cmsghdr *cmptr; in tftp_request()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 524 struct cmsghdr *cmptr; in recvfrom_flags() 526 struct cmsghdr cm; in recvfrom_flags() 571 if (msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr) || in recvfrom_flags()
|
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
D | test_util.h | 264 struct cmsghdr* cmsg; in SendFd() 299 struct cmsghdr* cmsg; in ReceiveFd()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_sock_util.c | 114 struct cmsghdr *cmsg; in sock_send_fd()
|
/external/libnl/lib/ |
D | nl.c | 257 struct cmsghdr *cmsg; in nl_send_iovec() 415 struct cmsghdr *cmsg; in nl_recv()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.cc | 940 CHECK_TYPE_SIZE(cmsghdr); 941 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_len); 942 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_level); 943 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_type);
|
/external/iputils/ninfod/ |
D | ninfod.c | 292 struct cmsghdr *cmsg; in ni_recv() 337 struct cmsghdr *cmsg; in ni_send()
|
/external/openssl/crypto/bio/ |
D | bss_dgram.c | 1016 struct cmsghdr *cmsg; in dgram_sctp_read() 1231 struct cmsghdr *cmsg; in dgram_sctp_write() 1277 cmsg = (struct cmsghdr *)cmsgbuf; in dgram_sctp_write() 1289 cmsg = (struct cmsghdr *)&cmsgbuf[CMSG_SPACE(sizeof(struct sctp_sndinfo))]; in dgram_sctp_write() 1299 cmsg = (struct cmsghdr *)cmsgbuf; in dgram_sctp_write()
|