Home
last modified time | relevance | path

Searched refs:t_inpcb (Results 1 – 18 of 18) sorted by relevance

/freebsd-9-stable/sys/netinet/
Dtcp_offload.c95 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_listen_start()
104 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_listen_stop()
115 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_input()
127 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_output()
151 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_rcvd()
162 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_ctloutput()
173 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_detach()
Dtcp_timer.c178 inp = tp->t_inpcb; in tcp_timer_delack()
227 inp = tp->t_inpcb; in tcp_timer_2msl()
245 INP_WUNLOCK(tp->t_inpcb); in tcp_timer_2msl()
268 tp->t_inpcb && tp->t_inpcb->inp_socket && in tcp_timer_2msl()
269 (tp->t_inpcb->inp_socket->so_rcv.sb_state & SBS_CANTRCVMORE)) { in tcp_timer_2msl()
282 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_2msl()
305 inp = tp->t_inpcb; in tcp_timer_keep()
386 if (tp != NULL && (tp->t_inpcb->inp_socket->so_options & SO_DEBUG)) in tcp_timer_keep()
391 INP_WUNLOCK(tp->t_inpcb); in tcp_timer_keep()
408 inp = tp->t_inpcb; in tcp_timer_persist()
[all …]
Dtcp_reass.c131 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_reass_flush()
161 struct socket *so = tp->t_inpcb->inp_socket; in tcp_reass()
166 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_reass()
202 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { in tcp_reass()
223 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, in tcp_reass()
233 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, in tcp_reass()
Dtcp_output.c156 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_after_idle()
168 struct socket *so = tp->t_inpcb->inp_socket; in tcp_output()
192 isipv6 = (tp->t_inpcb->inp_vflag & INP_IPV6) != 0; in tcp_output()
195 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_output()
502 tp->t_inpcb->inp_options == NULL && in tcp_output()
503 tp->t_inpcb->in6p_options == NULL) in tcp_output()
710 to.to_mss = tcp_mssopt(&tp->t_inpcb->inp_inc); in tcp_output()
753 ipoptlen = ip6_optlen(tp->t_inpcb); in tcp_output()
756 if (tp->t_inpcb->inp_options) in tcp_output()
757 ipoptlen = tp->t_inpcb->inp_options->m_len - in tcp_output()
[all …]
Dtcp_sack.c168 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_update_sack_list()
248 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_clean_sackreport()
355 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_doack()
553 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_free_sackholes()
576 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_partialack()
600 INP_WLOCK_ASSERT(tp->t_inpcb);
638 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_output()
663 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_adjust()
Dtcp_input.c285 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_ack_received()
318 struct inpcb *inp = tp->t_inpcb; in cc_conn_init()
321 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_conn_init()
388 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_cong_signal()
440 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_post_recovery()
490 if ((tp) && (tp)->t_inpcb && \
491 ((tp)->t_inpcb->inp_vflag & INP_IPV6) != 0) \
1510 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_do_segment()
1991 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_do_segment()
2243 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { in tcp_do_segment()
[all …]
Dtcp_subr.c505 inp = tp->t_inpcb; in tcp_respond()
630 ip6->ip6_hlim = in6_selecthlim(tp != NULL ? tp->t_inpcb : in tcp_respond()
728 tp->t_inpcb = inp; /* XXX */ in tcp_newtcpcb()
822 struct socket *so = tp->t_inpcb->inp_socket; in tcp_drop()
825 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_drop()
842 struct inpcb *inp = tp->t_inpcb; in tcp_discardcb()
946 tp->t_inpcb = NULL; in tcp_discardcb()
957 struct inpcb *inp = tp->t_inpcb; in tcp_close()
1587 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_new_isn()
1600 MD5Update(&isn_ctx, (u_char *) &tp->t_inpcb->inp_fport, sizeof(u_short)); in tcp_new_isn()
[all …]
Dtcp_var.h90 if ((tp) && (tp)->t_inpcb && \
91 ((tp)->t_inpcb->inp_vflag & INP_IPV6) != 0) \
110 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member
Dtcp_usrreq.c1110 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp_connect()
1171 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp6_connect()
1250 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_fill_info()
1657 struct inpcb *inp = tp->t_inpcb; in tcp_disconnect()
1699 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_usrclosed()
1732 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
1948 &tp->t_timers->tt_delack, tp->t_inpcb); in db_print_tcpcb()
Dtoecore.c214 struct inpcb *inp = tp->t_inpcb; in toe_listen_start_event()
228 struct inpcb *inp = tp->t_inpcb; in toe_listen_stop_event()
Dtcp_timewait.c200 struct inpcb *inp = tp->t_inpcb; in tcp_twstart()
Dtcp_syncache.c1853 xt.xt_tp.t_inpcb = &xt.xt_inp; in syncache_pcblist()
/freebsd-9-stable/sys/netinet/khelp/
Dh_ertt.c220 INP_WLOCK_ASSERT(tp->t_inpcb); in ertt_packet_measurement_hook()
452 INP_WLOCK_ASSERT(tp->t_inpcb); in ertt_add_tx_segment_info_hook()
/freebsd-9-stable/sys/dev/cxgb/ulp/tom/
Dcxgb_cpl_io.c190 toepcb_detach(tp->t_inpcb); in t3_pcb_detach()
357 inp_lock_assert(tp->t_inpcb); in make_tx_data_wr()
438 inp_lock_assert(tp->t_inpcb); in t3_push_frames()
590 struct inpcb *inp = tp->t_inpcb; in t3_rcvd()
635 struct inpcb *inp = tp->t_inpcb; in t3_send_fin()
656 struct inpcb *inp = tp->t_inpcb; in t3_tod_output()
1774 inp_wunlock(tp->t_inpcb); in wr_ack()
Dcxgb_listen.c805 struct inpcb *inp = tp->t_inpcb; in t3_listen_start()
888 struct inpcb *inp = tp->t_inpcb; in t3_listen_stop()
/freebsd-9-stable/sys/dev/cxgbe/tom/
Dt4_cpl_io.c209 INP_LOCK_ASSERT(tp->t_inpcb); in assign_rxopt()
332 struct inpcb *inp = tp->t_inpcb; in t4_rcvd()
741 struct inpcb *inp = tp->t_inpcb; in t4_tod_output()
760 struct inpcb *inp = tp->t_inpcb; in t4_send_fin()
781 struct inpcb *inp = tp->t_inpcb; in t4_send_rst()
Dt4_listen.c506 struct inpcb *inp = tp->t_inpcb; in t4_listen_start()
593 struct inpcb *inp = tp->t_inpcb; in t4_listen_stop()
Dt4_tom.c304 struct inpcb *inp = tp->t_inpcb; in t4_pcb_detach()