Lines Matching refs:in6p
3922 struct in6pcb *in6p = sotoin6pcb(so);
3925 if (in6p == NULL || in6p->inp_state == INPCB_STATE_DEAD)
3946 struct in6pcb *in6p = sotoin6pcb(so);
3949 if (in6p == NULL || in6p->inp_state == INPCB_STATE_DEAD)
3978 struct in6pcb *in6p = sotoin6pcb(so);
3988 if (in6p == NULL) {
3998 ifp = in6p->in6p_last_outifp;
4004 if (in6p->in6p_flags & INP_BOUND_IF)
4006 if (!(in6p->in6p_flags & INP_IN6ADDR_ANY))
4008 if (!(in6p->in6p_flags & INP_ANONPORT))
4016 sin6.sin6_port = in6p->in6p_lport;
4017 in6_recoverscope(&sin6, &in6p->in6p_laddr, NULL);
4031 sin6.sin6_port = in6p->in6p_fport;
4032 in6_recoverscope(&sin6, &in6p->in6p_faddr, NULL);