Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/
H A Dtcp_offload.c117 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_listen_start()
126 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_listen_stop()
137 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_input()
149 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_output()
173 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_rcvd()
184 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_ctloutput()
195 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_tcp_info()
207 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_alloc_tls_session()
218 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_detach()
H A Dtcp_timer.c277 inp = tp->t_inpcb; in tcp_timer_delack()
320 inp = tp->t_inpcb; in tcp_timer_2msl()
326 INP_WUNLOCK(tp->t_inpcb); in tcp_timer_2msl()
357 tp->t_inpcb && tp->t_inpcb->inp_socket && in tcp_timer_2msl()
412 inp = tp->t_inpcb; in tcp_timer_keep()
532 inp = tp->t_inpcb; in tcp_timer_persist()
623 inp = tp->t_inpcb; in tcp_timer_rexmt()
861 in6_losing(tp->t_inpcb); in tcp_timer_rexmt()
864 in_losing(tp->t_inpcb); in tcp_timer_rexmt()
897 struct inpcb *inp = tp->t_inpcb; in tcp_timer_activate()
[all …]
H A Dtcp_output.c185 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_after_idle()
237 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_output()
548 ipoptlen = ip6_optlen(tp->t_inpcb); in tcp_output()
551 if (tp->t_inpcb->inp_options) in tcp_output()
1138 mac_inpcb_create_mbuf(tp->t_inpcb, m); in tcp_output()
1144 tcpip_fillheaders(tp->t_inpcb, ip6, th); in tcp_output()
1153 tcpip_fillheaders(tp->t_inpcb, ip, th); in tcp_output()
1449 &tp->t_inpcb->inp_route6, in tcp_output()
1451 NULL, NULL, tp->t_inpcb); in tcp_output()
1492 error = ip_output(m, tp->t_inpcb->inp_options, &tp->t_inpcb->inp_route, in tcp_output()
[all …]
H A Dtcp_log_buf.c533 INP_WUNLOCK(tp->t_inpcb); in tcp_log_set_tag()
538 INP_WUNLOCK(tp->t_inpcb); in tcp_log_set_tag()
571 inp = tp->t_inpcb; in tcp_log_set_id()
957 INP_WUNLOCK(tp->t_inpcb); in tcp_log_get_tag()
975 INP_WUNLOCK(tp->t_inpcb); in tcp_log_get_tag()
1403 in_pcbref(tp->t_inpcb); in tcp_log_tcpcbfini()
1500 inp = tp->t_inpcb; in tcp_log_purge_tp_logbuf()
1937 inp = tp->t_inpcb; in tcp_log_getlogbuf()
2160 inp = tp->t_inpcb; in tcp_log_dump_tp_logbuf()
2600 INP_WUNLOCK(tp->t_inpcb); in tcp_log_dump_tp_bucket_logbufs()
[all …]
H A Dtcp_sack.c164 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_update_dsack_list()
265 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_update_sack_list()
396 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_clean_dsack_blocks()
437 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_clean_sackreport()
547 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_doack()
768 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_free_sackholes()
792 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_partialack()
816 INP_WLOCK_ASSERT(tp->t_inpcb);
854 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_output()
879 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_sack_adjust()
H A Dtcp_ratelimit.c1211 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_set_pacing_rate()
1213 if (tp->t_inpcb->inp_snd_tag == NULL) { in tcp_set_pacing_rate()
1226 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_set_pacing_rate()
1245 ktls_output_eagain(tp->t_inpcb, tls); in tcp_set_pacing_rate()
1274 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_chg_pacing_rate()
1285 tls = tp->t_inpcb->inp_socket->so_snd.sb_tls_info; in tcp_chg_pacing_rate()
1300 if (tp->t_inpcb->inp_snd_tag == NULL) { in tcp_chg_pacing_rate()
1334 rifp = rt_find_real_interface(ifp, tp->t_inpcb, error); in tcp_chg_pacing_rate()
1362 err = in_pcbmodify_txrtlmt(tp->t_inpcb, nrte->rate); in tcp_chg_pacing_rate()
1381 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_rel_pacing_rate()
[all …]
H A Dtcp_reass.c235 &tp->t_inpcb->inp_socket->so_rcv, in tcp_log_reassm()
236 &tp->t_inpcb->inp_socket->so_snd, in tcp_log_reassm()
309 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_reass_flush()
535 struct socket *so = tp->t_inpcb->inp_socket; in tcp_reass()
539 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_reass()
587 sb = &tp->t_inpcb->inp_socket->so_rcv; in tcp_reass()
598 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { in tcp_reass()
978 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { in tcp_reass()
994 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, NULL))) { in tcp_reass()
1015 if ((s = tcp_log_addrs(&tp->t_inpcb->inp_inc, th, NULL, in tcp_reass()
H A Dtcp_input.c320 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_ack_received()
391 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_conn_init()
442 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_cong_signal()
503 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_post_recovery()
534 INP_WLOCK_ASSERT(tp->t_inpcb); in cc_ecnpkt_handler()
1522 inc = &tp->t_inpcb->inp_inc; in tcp_do_segment()
3281 INP_WUNLOCK(tp->t_inpcb); in tcp_do_segment()
3315 INP_WUNLOCK(tp->t_inpcb); in tcp_do_segment()
3323 INP_WUNLOCK(tp->t_inpcb); in tcp_do_segment()
3340 INP_WUNLOCK(tp->t_inpcb); in tcp_do_segment()
[all …]
H A Dtcp_subr.c705 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_default_fb_init()
722 so = tp->t_inpcb->inp_socket; in tcp_default_fb_init()
768 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_default_fb_fini()
1422 inp = tp->t_inpcb; in tcp_respond()
1724 tp->t_inpcb = inp; in tcp_newtcpcb()
1900 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_drop()
1917 struct inpcb *inp = tp->t_inpcb; in tcp_discardcb()
2048 tp->t_inpcb = NULL; in tcp_discardcb()
2066 inp = tp->t_inpcb; in tcp_timer_discard()
2082 tp->t_inpcb = NULL; in tcp_timer_discard()
[all …]
H A Dtoecore.c234 struct inpcb *inp = tp->t_inpcb; in toe_listen_start_event()
248 struct inpcb *inp = tp->t_inpcb; in toe_listen_stop_event()
H A Dtcp_stats.c202 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_stats_sample_rollthedice()
H A Dtcp_usrreq.c1592 struct inpcb *inp = tp->t_inpcb, *oinp; in tcp_connect()
1714 struct inpcb *inp = tp->t_inpcb; in tcp6_connect()
1762 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_fill_info()
1957 tcp_hpts_remove(tp->t_inpcb, HPTS_REMOVE_ALL); in tcp_ctloutput()
2654 struct inpcb *inp = tp->t_inpcb; in tcp_disconnect()
2697 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_usrclosed()
2730 soisdisconnected(tp->t_inpcb->inp_socket); in tcp_usrclosed()
2958 &tp->t_timers->tt_delack, tp->t_inpcb); in db_print_tcpcb()
H A Dtcp_hpts.c341 &tp->t_inpcb->inp_socket->so_rcv, in tcp_hpts_log()
342 &tp->t_inpcb->inp_socket->so_snd, in tcp_hpts_log()
1118 hpts = tcp_input_lock(tp->t_inpcb); in __tcp_set_inp_to_drop()
1291 if ((tp == NULL) || (tp->t_inpcb == NULL)) { in tcp_input_data()
1561 if ((tp == NULL) || (tp->t_inpcb == NULL)) { in tcp_hptsi()
H A Dtcp_fastopen.c880 inp = tp->t_inpcb; in tcp_fastopen_connect()
960 struct in_conninfo *inc = &tp->t_inpcb->inp_inc; in tcp_fastopen_disable_path()
986 struct in_conninfo *inc = &tp->t_inpcb->inp_inc; in tcp_fastopen_update_cache()
H A Dtcp_timewait.c232 struct inpcb *inp = tp->t_inpcb; in tcp_twstart()
H A Dtcp_lro.c475 &tp->t_inpcb->inp_socket->so_rcv, in tcp_lro_log()
476 &tp->t_inpcb->inp_socket->so_snd, in tcp_lro_log()
H A Dtcp_var.h132 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack_bbr_common.c500 INP_WUNLOCK(tp->t_inpcb); in ctf_do_dropwithreset()
654 INP_WUNLOCK(tp->t_inpcb); in ctf_do_drop()
810 if (tp->t_inpcb) { in ctf_do_dropwithreset_conn()
811 tcp_set_inp_to_drop(tp->t_inpcb, ETIMEDOUT); in ctf_do_dropwithreset_conn()
814 INP_WUNLOCK(tp->t_inpcb); in ctf_do_dropwithreset_conn()
888 &tp->t_inpcb->inp_socket->so_rcv, in ctf_log_sack_filter()
889 &tp->t_inpcb->inp_socket->so_snd, in ctf_log_sack_filter()
H A Drack.c4749 inp = tp->t_inpcb; in rack_start_hpts_timer()
5355 inp = tp->t_inpcb; in rack_timeout_persist()
5445 inp = tp->t_inpcb; in rack_timeout_keepalive()
5587 inp = tp->t_inpcb; in rack_timeout_rxt()
5775 in6_losing(tp->t_inpcb); in rack_timeout_rxt()
5778 in_losing(tp->t_inpcb); in rack_timeout_rxt()
10363 if (tp->t_inpcb) { in rack_init()
10585 if (tp->t_inpcb) { in rack_fini()
11048 tcp_set_hpts(tp->t_inpcb); in rack_do_segment_nounlock()
11183 if (tp->t_inpcb == NULL) { in rack_do_segment_nounlock()
[all …]
H A Dbbr.c750 inp = tp->t_inpcb; in bbr_start_hpts_timer()
4837 inp = tp->t_inpcb; in bbr_timeout_keepalive()
5180 in6_losing(tp->t_inpcb); in bbr_timeout_rxt()
5183 in_losing(tp->t_inpcb); in bbr_timeout_rxt()
10077 inp = tp->t_inpcb; in bbr_init()
10084 if (tp->t_inpcb) { in bbr_init()
10085 bbr->rc_inp = tp->t_inpcb; in bbr_init()
10316 if (tp->t_inpcb) { in bbr_fini()
11565 tcp_set_hpts(tp->t_inpcb); in bbr_do_segment_nounlock()
11631 tp, bbr, tp->t_inpcb); in bbr_do_segment_nounlock()
[all …]
/f-stack/freebsd/netinet/khelp/
H A Dh_ertt.c222 INP_WLOCK_ASSERT(tp->t_inpcb); in ertt_packet_measurement_hook()
455 INP_WLOCK_ASSERT(tp->t_inpcb); in ertt_add_tx_segment_info_hook()
/f-stack/tools/compat/include/netinet/
H A Dtcp_var.h132 struct inpcb *t_inpcb; /* back pointer to internet pcb */ member