Lines Matching refs:t_inpcb
549 struct inpcb *inp = tp->t_inpcb; in add_to_time_wait_locked()
583 if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) { in add_to_time_wait()
584 socket_post_kev_msg_closed(tp->t_inpcb->inp_socket); in add_to_time_wait()
590 nstat_pcb_detach(tp->t_inpcb); in add_to_time_wait()
593 socket_unlock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait()
595 socket_lock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait()
833 if (tcp_garbage_collect(tw_tp->t_inpcb, 1)) { in tcp_gc()
940 if (TCP_USE_RLEDBAT(tp, tp->t_inpcb->inp_socket) && in tcp_pmtud_revert_segment_size()
949 tcp_update_mss_locked(tp->t_inpcb->inp_socket, NULL); in tcp_pmtud_revert_segment_size()
959 if (tp->t_inpcb->inp_vflag & INP_IPV4) { in tcp_pmtud_black_holed_next_mss()
987 struct inpcb *inp = tp->t_inpcb; in tcp_send_keep_alive()
997 if (tp->t_inpcb->inp_flags & INP_BOUND_IF) { in tcp_send_keep_alive()
998 tra.ifscope = tp->t_inpcb->inp_boundifp->if_index; in tcp_send_keep_alive()
1026 so = tp->t_inpcb->inp_socket; in tcp_timers()
1110 INP_INC_IFNET_STAT(tp->t_inpcb, in tcp_timers()
1113 INP_INC_IFNET_STAT(tp->t_inpcb, in tcp_timers()
1266 if (INP_WAIT_FOR_IF_FEEDBACK(tp->t_inpcb)) { in tcp_timers()
1353 if (!(tp->t_inpcb->inp_vflag & INP_IPV4)) { in tcp_timers()
1354 in6_losing(tp->t_inpcb); in tcp_timers()
1356 in_losing(tp->t_inpcb); in tcp_timers()
1452 if (tp->t_inpcb->inp_socket->so_flags & SOF_FLOW_DIVERT) { in tcp_timers()
1477 (tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) || in tcp_timers()
1502 struct ifnet *outifp = tp->t_inpcb->inp_last_outifp; in tcp_timers()
1772 ((IFNET_IS_COMPANION_LINK(tp->t_inpcb->inp_last_outifp)) || in tcp_timers()
1785 ntohs(tp->t_inpcb->inp_lport), in tcp_timers()
1786 ntohs(tp->t_inpcb->inp_fport), in tcp_timers()
1787 if_name(tp->t_inpcb->inp_last_outifp), in tcp_timers()
1788 tp->t_inpcb->inp_last_outifp->if_index, in tcp_timers()
1798 (tp->t_inpcb->inp_socket->so_snd.sb_cc != 0 || tp->t_state == TCPS_SYN_SENT || in tcp_timers()
1807 ntohs(tp->t_inpcb->inp_lport), in tcp_timers()
1808 ntohs(tp->t_inpcb->inp_fport), in tcp_timers()
1863 if (tp->t_inpcb->inp_socket->so_options & SO_DEBUG) { in tcp_timers()
1877 socket_lock_assert_owned(tp->t_inpcb->inp_socket); in tcp_remove_timer()
1996 socket_lock(tp->t_inpcb->inp_socket, 1); in tcp_run_conn_timer()
1998 so = tp->t_inpcb->inp_socket; in tcp_run_conn_timer()
2000 if (in_pcb_checkstate(tp->t_inpcb, WNT_RELEASE, 1) in tcp_run_conn_timer()
2180 if (in_pcb_checkstate(tp->t_inpcb, WNT_ACQUIRE, 0) in tcp_run_timerlist()
2304 if (tp->t_inpcb->inp_state == INPCB_STATE_DEAD) { in tcp_sched_timers()
2449 socket_lock_assert_owned(tp->t_inpcb->inp_socket); in tcp_check_timer_state()
2451 if (tp->t_inpcb->inp_flags2 & INP2_TIMEWAIT) { in tcp_check_timer_state()
2785 tp->t_inpcb->inp_last_outifp == ifp && in tcp_enable_read_probe()