Lines Matching refs:t_inpcb

484 	struct inpcb *inp = tp->t_inpcb;
610 ro6 = &tp->t_inpcb->in6p_route;
613 ro = &tp->t_inpcb->inp_route;
696 if (tp != NULL && tp->t_inpcb != NULL) {
701 mac_mbuf_label_associate_inpcb(tp->t_inpcb, m);
729 ip6->ip6_hlim = in6_selecthlim(tp ? tp->t_inpcb : NULL,
742 if (tp == NULL || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
746 if (ipsec_bypass == 0 && ipsec_setsocket(m, tp ? tp->t_inpcb->inp_socket : NULL) != 0) {
757 set_packet_service_class(m, tp->t_inpcb->inp_socket,
761 m->m_pkthdr.m_flowhash = tp->t_inpcb->inp_flowhash;
783 tp->t_inpcb->in6p_last_outifp) {
784 tp->t_inpcb->in6p_last_outifp = outif;
800 inp_route_copyout(tp->t_inpcb, &sro);
810 tp->t_inpcb->inp_last_outifp)
811 tp->t_inpcb->inp_last_outifp = outif;
813 inp_route_copyin(tp->t_inpcb, &sro);
858 tp->t_inpcb = inp; /* XXX */
905 struct socket *so = tp->t_inpcb->inp_socket;
907 struct inpcb *inp = tp->t_inpcb;
967 struct inpcb *inp = tp->t_inpcb;
1318 otp->t_inpcb = (_TCPCB_PTR(struct inpcb *))(uintptr_t)tp->t_inpcb;
1969 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_fport, sizeof(u_short));
1970 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_lport, sizeof(u_short));
1972 if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) {
1973 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->in6p_faddr,
1975 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->in6p_laddr,
1980 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_faddr,
1982 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_laddr,
2028 int isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0;
2305 if ((tp == NULL) || ((inp = tp->t_inpcb) == NULL))
2488 struct sockbuf *sb = &tp->t_inpcb->inp_socket->so_rcv;
2522 struct inpcb *inp = tp->t_inpcb;