Lines Matching refs:pi
120 struct in6_pktinfo *pi = NULL;
129 if (opts && (pi = opts->ip6po_pktinfo) &&
130 !IN6_IS_ADDR_UNSPECIFIED(&pi->ipi6_addr))
131 return(&pi->ipi6_addr);
145 if (pi && pi->ipi6_ifindex) {
147 ia6 = in6_ifawithscope(ifindex2ifnet[pi->ipi6_ifindex],
510 struct in6_pktinfo *pi;
517 (pi = in6p->in6p_outputopts->ip6po_pktinfo) &&
518 pi->ipi6_ifindex) {
519 ifp = ifindex2ifnet[pi->ipi6_ifindex];
520 in6->s6_addr16[1] = htons(pi->ipi6_ifindex);