Searched refs:in6_pktinfo (Results 1 – 17 of 17) sorted by relevance
40 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in send_from()79 struct in6_pktinfo* pkt = (struct in6_pktinfo*) CMSG_DATA(cmptr); in send_from()82 msg.msg_controllen = cmptr->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_from()512 char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in receive_query()579 dst_addr.addr.addr6 = ((struct in6_pktinfo*) CMSG_DATA(cmptr))->ipi6_addr; in receive_query()580 if_index = ((struct in6_pktinfo*) CMSG_DATA(cmptr))->ipi6_ifindex; in receive_query()
403 struct in6_pktinfo *pi;448 pi = (struct in6_pktinfo *)(CMSG_DATA(cm));575 struct in6_pktinfo *pi;605 m.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));607 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo));610 pi = (struct in6_pktinfo *)CMSG_DATA(cm);
63 struct in6_pktinfo pktinfo;
21 struct in6_pktinfo { struct
601 struct in6_pktinfo *pi6; in get_index_from_cmsg()603 pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); in get_index_from_cmsg()669 struct in6_pktinfo *pi6; in send_msg_cmsg()673 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in send_msg_cmsg()675 pi6 = (struct in6_pktinfo *)(CMSG_DATA(cm)); in send_msg_cmsg()
1213 struct in6_pktinfo *pktinfo6; in init_pktinfo()1228 cmsg->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in init_pktinfo()1229 pktinfo6 = (struct in6_pktinfo *)CMSG_DATA(cmsg); in init_pktinfo()1230 memset(pktinfo6, 0, sizeof(struct in6_pktinfo)); in init_pktinfo()1246 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendmsg_to_server()
703 struct in6_pktinfo *ipi;715 ipi = (struct in6_pktinfo *)CMSG_DATA(cmsg);
973 struct in6_pktinfo ipi; in main()1049 struct in6_pktinfo *ipi; in main()1057 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()
109 struct in6_pktinfo sou_pktinfo;
247 struct in6_pktinfo *info6 = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
45 pub struct in6_pktinfo {
181 pub struct in6_pktinfo {
200 pub struct in6_pktinfo {
459 pub struct in6_pktinfo {
458 pub struct in6_pktinfo {