Lines Matching refs:t_inpcb

324 	if ((tp) && (tp)->t_inpcb && \
325 ((tp)->t_inpcb->inp_vflag & INP_IPV6) != 0 && \
326 (tp)->t_inpcb->in6p_route.ro_rt) \
327 nd6_nud_hint((tp)->t_inpcb->in6p_route.ro_rt, NULL, 0); \
522 struct socket *so = tp->t_inpcb->inp_socket;
602 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, *tlenp, NSTAT_RX_FLAG_DUPLICATE);
603 locked_add_64(&tp->t_inpcb->inp_stat->rxpackets, 1);
604 locked_add_64(&tp->t_inpcb->inp_stat->rxbytes, *tlenp);
626 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, *tlenp, NSTAT_RX_FLAG_OUT_OF_ORDER);
627 locked_add_64(&tp->t_inpcb->inp_stat->rxpackets, 1);
628 locked_add_64(&tp->t_inpcb->inp_stat->rxbytes, *tlenp);
677 tcp_lro_remove_state(tp->t_inpcb->inp_laddr,
678 tp->t_inpcb->inp_faddr,
697 tp->t_inpcb->inp_laddr,
698 tp->t_inpcb->inp_faddr, th->th_dport, th->th_sport);
708 if ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) {
711 ((tp->t_inpcb->inp_fport << 16) | tp->t_inpcb->inp_lport),
712 (((tp->t_inpcb->in6p_laddr.s6_addr16[0] & 0xffff) << 16) |
713 (tp->t_inpcb->in6p_faddr.s6_addr16[0] & 0xffff)),
720 ((tp->t_inpcb->inp_fport << 16) | tp->t_inpcb->inp_lport),
721 (((tp->t_inpcb->inp_laddr.s_addr & 0xffff) << 16) |
722 (tp->t_inpcb->inp_faddr.s_addr & 0xffff)),
1025 struct socket *so = tp->t_inpcb->inp_socket;
1961 tp->t_inpcb->inp_ip_ttl = tp0->t_inpcb->inp_ip_ttl;
2283 DTRACE_TCP5(cc, void, NULL, struct inpcb *, tp->t_inpcb,
2376 tcp_lro_remove_state(tp->t_inpcb->inp_laddr,
2377 tp->t_inpcb->inp_faddr,
2378 tp->t_inpcb->inp_lport,
2379 tp->t_inpcb->inp_fport);
2715 nstat_route_connect_success(tp->t_inpcb->inp_route.ro_rt);
2929 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, tlen, NSTAT_RX_FLAG_DUPLICATE);
2997 nstat_route_rx(tp->t_inpcb->inp_route.ro_rt, 1, todrop, NSTAT_RX_FLAG_DUPLICATE);
3167 nstat_route_connect_success(tp->t_inpcb->inp_route.ro_rt);
3962 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
3994 if (tp == 0 || (tp->t_inpcb->inp_socket->so_options & SO_DEBUG))
4246 nstat_route_rtt(tp->t_inpcb->inp_route.ro_rt, tp->t_srtt, tp->t_rttvar);
4361 inp = tp->t_inpcb;
4560 DTRACE_TCP5(cc, void, NULL, struct inpcb *, tp->t_inpcb, struct tcpcb *, tp,
4582 isipv6 = ((tp->t_inpcb->inp_vflag & INP_IPV6) != 0) ? 1 : 0;
4591 rt = tcp_rtlookup6(tp->t_inpcb, IFSCOPE_NONE);
4594 rt = tcp_rtlookup(tp->t_inpcb, IFSCOPE_NONE);