Lines Matching defs:ipi
968 struct in6_pktinfo ipi;
970 memset(&ipi, 0, sizeof(ipi));
971 ipi.ipi6_ifindex = iface;
982 setsockopt(probe_fd, IPPROTO_IPV6, IPV6_PKTINFO, &ipi, sizeof(ipi)) == -1 &&
1041 struct in6_pktinfo *ipi;
1044 cmsglen += CMSG_SPACE(sizeof(*ipi));
1045 cmsg->cmsg_len = CMSG_LEN(sizeof(*ipi));
1049 ipi = (struct in6_pktinfo*)CMSG_DATA(cmsg);
1050 memset(ipi, 0, sizeof(*ipi));
1051 ipi->ipi6_ifindex = if_name2index(device);