Lines Matching defs:pktinfo
355 struct in6_pktinfo *pktinfo;
362 pktinfo = (struct in6_pktinfo *)(CMSG_DATA(scmsgp));
366 pktinfo->ipi6_ifindex = *ifindex;
368 memcpy (&pktinfo->ipi6_addr, src, sizeof (struct in6_addr));
370 memset (&pktinfo->ipi6_addr, 0, sizeof (struct in6_addr));
410 struct in6_pktinfo *pktinfo;
414 pktinfo = (struct in6_pktinfo *)(CMSG_DATA(rcmsgp));
448 *ifindex = pktinfo->ipi6_ifindex;
450 memcpy (dst, &pktinfo->ipi6_addr, sizeof (struct in6_addr));
461 struct in6_pktinfo *pktinfo;
465 pktinfo = (struct in6_pktinfo *)(CMSG_DATA(rcmsgp));
492 *ifindex = pktinfo->ipi6_ifindex;
494 memcpy (dst, &pktinfo->ipi6_addr, sizeof (struct in6_addr));