Searched refs:in6_pktinfo (Results 1 – 12 of 12) sorted by relevance
34 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()
460 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()
43 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()
63 struct in6_pktinfo pktinfo;
19 struct in6_pktinfo { struct
392 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);
142 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()
703 struct in6_pktinfo *ipi;715 ipi = (struct in6_pktinfo *)CMSG_DATA(cmsg);
968 struct in6_pktinfo ipi; in main()1044 struct in6_pktinfo *ipi; in main()1052 ipi = (struct in6_pktinfo*)CMSG_DATA(cmsg); in main()
239 ninfod: struct in6_pktinfo requires -D_GNU_SOURCE.
650 struct in6_pktinfo *ip6_info = (struct in6_pktinfo*)CMSG_DATA(cmptr); in recvfrom_flags()
460 struct in6_pktinfo { struct