Lines Matching refs:in6p
1521 in6_selecthlim(struct in6pcb *in6p, struct ifnet *ifp) in in6_selecthlim() argument
1523 if (in6p && in6p->in6p_hops >= 0) { in in6_selecthlim()
1524 return (uint8_t)in6p->in6p_hops; in in6_selecthlim()
2160 struct in6pcb *in6p, struct ifnet **ifpp, struct ip6_pktopts *opt, uint32_t *ret_ifscope) in in6_embedscope() argument
2187 if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) && in in6_embedscope()
2188 in6p->in6p_moptions != NULL) { in in6_embedscope()
2189 IM6O_LOCK(in6p->in6p_moptions); in in6_embedscope()
2191 in6p->in6p_moptions->im6o_multicast_ifp; in in6_embedscope()
2192 IM6O_UNLOCK(in6p->in6p_moptions); in in6_embedscope()
2197 } else if (in6p != NULL) { in in6_embedscope()
2198 optp = in6p->in6p_outputopts; in in6_embedscope()
2203 if (in6p != NULL && optp != NULL && in in6_embedscope()
2219 } else if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) && in in6_embedscope()
2220 in6p->in6p_moptions != NULL && im6o_multicast_ifp != NULL) { in in6_embedscope()