Home
last modified time | relevance | path

Searched refs:in6_pktinfo (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/net/tools/quic/
Dquic_socket_utils.cc34 in6_pktinfo* info = reinterpret_cast<in6_pktinfo*>CMSG_DATA(cmsg); in GetAddressFromMsghdr()
107 CMSG_SPACE(sizeof(int)) + CMSG_SPACE(sizeof(in6_pktinfo)); in ReadPacket()
169 cmsg->cmsg_len = CMSG_LEN(sizeof(in6_pktinfo)); in SetIpInfoInCmsg()
172 in6_pktinfo* pktinfo = reinterpret_cast<in6_pktinfo*>(CMSG_DATA(cmsg)); in SetIpInfoInCmsg()
173 memset(pktinfo, 0, sizeof(in6_pktinfo)); in SetIpInfoInCmsg()
175 return sizeof(in6_pktinfo); in SetIpInfoInCmsg()
200 const int kSpaceForIpv6 = CMSG_SPACE(sizeof(in6_pktinfo)); in WritePacket()
/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c460 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_raw6()
539 bzero((void *)cmsgbuf, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_raw6()
545 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_raw6()
581 struct in6_pktinfo * info; in recv_function_raw6()
583 info = (struct in6_pktinfo *)CMSG_DATA(cmsgptr); in recv_function_raw6()
863 char cmsgbuf[CMSG_SPACE(sizeof (struct in6_pktinfo))]; in recv_function_udp6()
906 bzero((void *)cmsgbuf, CMSG_SPACE(sizeof (struct in6_pktinfo))); in recv_function_udp6()
914 msg.msg_controllen = (socklen_t)CMSG_LEN(sizeof (struct in6_pktinfo)); in recv_function_udp6()
979 struct in6_pktinfo *info; in recv_function_udp6()
985 info = (struct in6_pktinfo *)CMSG_DATA(cmsgptr); in recv_function_udp6()
/external/dnsmasq/src/
Dforward.c43 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in send_from()
85 struct in6_pktinfo *pkt = (struct in6_pktinfo *)CMSG_DATA(cmptr); in send_from()
88 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_from()
590 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in receive_query()
678 dst_addr.addr.addr6 = ((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_addr; in receive_query()
679 if_index =((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex; in receive_query()
/external/iputils/ninfod/
Dninfod.h63 struct in6_pktinfo pktinfo;
/external/kernel-headers/original/uapi/linux/
Dipv6.h19 struct in6_pktinfo { struct
/external/ipsec-tools/src/racoon/
Dsockmisc.c392 struct in6_pktinfo *pi;
437 pi = (struct in6_pktinfo *)(CMSG_DATA(cm));
564 struct in6_pktinfo *pi;
594 m.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
596 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo));
599 pi = (struct in6_pktinfo *)CMSG_DATA(cm);
/external/dhcpcd/
Dipv6rs.c142 len = CMSG_SPACE(sizeof(struct in6_pktinfo)) + CMSG_SPACE(sizeof(int)); in ipv6rs_open()
194 struct in6_pktinfo pi; in ipv6rs_sendprobe()
273 struct in6_pktinfo pkt; in ipv6rs_handledata()
/external/iputils/
Dtraceroute6.c703 struct in6_pktinfo *ipi;
715 ipi = (struct in6_pktinfo *)CMSG_DATA(cmsg);
Dping6.c968 struct in6_pktinfo ipi; in main()
1044 struct in6_pktinfo *ipi; in main()
1052 ipi = (struct in6_pktinfo*)CMSG_DATA(cmsg); in main()
DRELNOTES239 ninfod: struct in6_pktinfo requires -D_GNU_SOURCE.
/external/mdnsresponder/mDNSPosix/
DmDNSUNP.c650 struct in6_pktinfo *ip6_info = (struct in6_pktinfo*)CMSG_DATA(cmptr); in recvfrom_flags()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet6/
Din6.h460 struct in6_pktinfo { struct