Lines Matching refs:t_inpcb

486 	struct inpcb *inp = tp->t_inpcb;
611 ro6 = &tp->t_inpcb->in6p_route;
614 ro = &tp->t_inpcb->inp_route;
706 if (tp != NULL && tp->t_inpcb != NULL) {
711 mac_mbuf_label_associate_inpcb(tp->t_inpcb, m);
738 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL,
751 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
755 if (ipsec_bypass == 0 && ipsec_setsocket(m, tp ? tp->t_inpcb->inp_socket : NULL) != 0) {
766 set_packet_service_class(m, tp->t_inpcb->inp_socket,
771 m->m_pkthdr.pkt_flowid = tp->t_inpcb->inp_flowhash;
796 tp->t_inpcb->in6p_last_outifp)
797 tp->t_inpcb->in6p_last_outifp = outif;
814 inp_route_copyout(tp->t_inpcb, &sro);
823 tp->t_inpcb->inp_last_outifp)
824 tp->t_inpcb->inp_last_outifp = outif;
828 inp_route_copyin(tp->t_inpcb, &sro);
875 tp->t_inpcb = inp; /* XXX */
928 struct socket *so = tp->t_inpcb->inp_socket;
930 struct inpcb *inp = tp->t_inpcb;
990 struct inpcb *inp = tp->t_inpcb;
1350 otp->t_inpcb = (_TCPCB_PTR(struct inpcb *))(uintptr_t)tp->t_inpcb;
1466 inp = tp->t_inpcb;
1649 inp = tp->t_inpcb;
1998 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_fport, sizeof(u_short));
1999 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_lport, sizeof(u_short));
2001 if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) {
2002 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->in6p_faddr,
2004 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->in6p_laddr,
2009 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_faddr,
2011 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_laddr,
2057 int isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0;
2363 if ((tp == NULL) || ((inp = tp->t_inpcb) == NULL))
2537 struct socket *so = tp->t_inpcb->inp_socket;
2558 struct sockbuf *sb = &tp->t_inpcb->inp_socket->so_rcv;
2561 struct socket *so = tp->t_inpcb->inp_socket;
2611 struct inpcb *inp = tp->t_inpcb;