Home
last modified time | relevance | path

Searched refs:cmsghdr (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/
Din6.h585 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/
Dsocket.h328 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/
Ddarwin-align-cast.c8 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/
Dquic_socket_utils.cc28 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()
Dquic_socket_utils.h73 cmsghdr* cmsg);
/external/strace/tests/
Dscm_rights.c13 struct cmsghdr cmsghdr; in main() member
48 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&mh); in main()
/external/valgrind/main/none/tests/
Dfdleak_cmsg.c58 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/
Dplatform_channel_utils_posix.cc95 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/
Dping6.c148 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 …]
Dping.c107 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/
Dimage_writer_mac.cc129 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/
Dsockmisc.c388 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/
Dunix_domain_socket_linux.cc56 struct cmsghdr* cmsg; in SendMsg()
123 struct cmsghdr* cmsg; in RecvMsgWithFlags()
/external/dhcpcd/
Dipv6rs.c193 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()
Dlpf.c178 struct cmsghdr *cmsg; in get_raw_packet()
/external/dnsmasq/src/
Ddhcp.c110 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()
Dforward.c36 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()
Dtftp.c59 struct cmsghdr align; /* this ensures alignment */ in tftp_request()
94 struct cmsghdr *cmptr; in tftp_request()
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c524 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/
Dtest_util.h264 struct cmsghdr* cmsg; in SendFd()
299 struct cmsghdr* cmsg; in ReceiveFd()
/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_util.c114 struct cmsghdr *cmsg; in sock_send_fd()
/external/libnl/lib/
Dnl.c257 struct cmsghdr *cmsg; in nl_send_iovec()
415 struct cmsghdr *cmsg; in nl_recv()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc940 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/
Dninfod.c292 struct cmsghdr *cmsg; in ni_recv()
337 struct cmsghdr *cmsg; in ni_send()
/external/openssl/crypto/bio/
Dbss_dgram.c1016 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()

12