Lines Matching refs:in6p
1618 in6_selecthlim(struct in6pcb *in6p, struct ifnet *ifp) in in6_selecthlim() argument
1620 if (in6p && in6p->in6p_hops >= 0) { in in6_selecthlim()
1621 return (uint8_t)in6p->in6p_hops; in in6_selecthlim()
2210 struct in6pcb *in6p, struct ifnet **ifpp, struct ip6_pktopts *opt, uint32_t *ret_ifscope) in in6_embedscope() argument
2237 if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) && in in6_embedscope()
2238 in6p->in6p_moptions != NULL) { in in6_embedscope()
2239 IM6O_LOCK(in6p->in6p_moptions); in in6_embedscope()
2241 in6p->in6p_moptions->im6o_multicast_ifp; in in6_embedscope()
2242 IM6O_UNLOCK(in6p->in6p_moptions); in in6_embedscope()
2247 } else if (in6p != NULL) { in in6_embedscope()
2248 optp = in6p->in6p_outputopts; in in6_embedscope()
2253 if (in6p != NULL && optp != NULL && in in6_embedscope()
2269 } else if (in6p != NULL && IN6_IS_ADDR_MULTICAST(in6) && in in6_embedscope()
2270 in6p->in6p_moptions != NULL && im6o_multicast_ifp != NULL) { in in6_embedscope()