Home
last modified time | relevance | path

Searched refs:tcpcb (Results 1 – 25 of 61) sorted by relevance

123

/freebsd-14.2/sys/netinet/
H A Dtcp_var.h304 struct tcpcb { struct
658 struct tcpcb * tcp_drop(struct tcpcb *, int);
673 tcp_output(struct tcpcb *tp) in tcp_output()
699 tcp_output_unlock(struct tcpcb *tp) in tcp_output_unlock()
1166 struct tcpcb *tp;
1381 struct tcpcb *
1382 tcp_close(struct tcpcb *);
1384 void tcp_twstart(struct tcpcb *);
1397 struct tcpcb *, int, int);
1416 struct tcpcb *, int);
[all …]
H A Dtoecore.h58 int (*tod_listen_start)(struct toedev *, struct tcpcb *);
59 int (*tod_listen_stop)(struct toedev *, struct tcpcb *);
65 void (*tod_input)(struct toedev *, struct tcpcb *, struct mbuf *);
72 void (*tod_rcvd)(struct toedev *, struct tcpcb *);
78 int (*tod_output)(struct toedev *, struct tcpcb *);
81 int (*tod_send_rst)(struct toedev *, struct tcpcb *);
84 int (*tod_send_fin)(struct toedev *, struct tcpcb *);
87 void (*tod_pcb_detach)(struct toedev *, struct tcpcb *);
107 void (*tod_ctloutput)(struct toedev *, struct tcpcb *, int, int);
110 void (*tod_tcp_info)(struct toedev *, const struct tcpcb *,
[all …]
H A Dtcp_offload.h42 void tcp_offload_listen_start(struct tcpcb *);
43 void tcp_offload_listen_stop(struct tcpcb *);
44 void tcp_offload_input(struct tcpcb *, struct mbuf *);
45 int tcp_offload_output(struct tcpcb *);
46 void tcp_offload_rcvd(struct tcpcb *);
47 void tcp_offload_ctloutput(struct tcpcb *, int, int);
48 void tcp_offload_tcp_info(const struct tcpcb *, struct tcp_info *);
49 int tcp_offload_alloc_tls_session(struct tcpcb *, struct ktls_session *, int);
50 void tcp_offload_detach(struct tcpcb *);
51 void tcp_offload_pmtu_update(struct tcpcb *, tcp_seq, int);
H A Dtcp_log_buf.h390 tcp_bblogging_on(struct tcpcb *tp) in tcp_bblogging_on()
438 tcp_get_bblog_state(struct tcpcb *tp) in tcp_get_bblog_state()
444 tcp_trace_point(struct tcpcb *tp, int num) in tcp_trace_point()
533 struct tcpcb;
559 void tcp_log_drain(struct tcpcb *tp);
568 u_int tcp_log_get_id_cnt(struct tcpcb *tp);
571 int tcp_log_set_id(struct tcpcb *tp, char *id);
572 int tcp_log_set_tag(struct tcpcb *tp, char *tag);
574 void tcp_log_tcpcbinit(struct tcpcb *tp);
575 void tcp_log_tcpcbfini(struct tcpcb *tp);
[all …]
H A Dtcp_ecn.h43 void tcp_ecn_input_syn_sent(struct tcpcb *, uint16_t, int);
44 void tcp_ecn_input_parallel_syn(struct tcpcb *, uint16_t, int);
45 int tcp_ecn_input_segment(struct tcpcb *, uint16_t, int, int, int);
46 uint16_t tcp_ecn_output_syn_sent(struct tcpcb *);
47 int tcp_ecn_output_established(struct tcpcb *, uint16_t *, int, bool);
48 void tcp_ecn_syncache_socket(struct tcpcb *, struct syncache *);
H A Dtcp_ratelimit.h116 tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *ifp,
121 struct tcpcb *tp, struct ifnet *ifp,
125 struct tcpcb *tp);
128 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1ms…
136 tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *ifp, in tcp_set_pacing_rate()
146 struct tcpcb *tp, struct ifnet *ifp, in tcp_chg_pacing_rate()
156 struct tcpcb *tp) in tcp_rel_pacing_rate()
174 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1ms… in tcp_get_pacing_burst_size_w_divisor()
232 tcp_get_pacing_burst_size(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss, in tcp_get_pacing_burst_size()
H A Dtcp_offload.c113 tcp_offload_listen_start(struct tcpcb *tp) in tcp_offload_listen_start()
122 tcp_offload_listen_stop(struct tcpcb *tp) in tcp_offload_listen_stop()
131 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) in tcp_offload_input()
142 tcp_offload_output(struct tcpcb *tp) in tcp_offload_output()
167 tcp_offload_rcvd(struct tcpcb *tp) in tcp_offload_rcvd()
178 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) in tcp_offload_ctloutput()
189 tcp_offload_tcp_info(const struct tcpcb *tp, struct tcp_info *ti) in tcp_offload_tcp_info()
200 tcp_offload_alloc_tls_session(struct tcpcb *tp, struct ktls_session *tls, in tcp_offload_alloc_tls_session()
212 tcp_offload_detach(struct tcpcb *tp) in tcp_offload_detach()
223 tcp_offload_pmtu_update(struct tcpcb *tp, tcp_seq seq, int mtu) in tcp_offload_pmtu_update()
H A Dtcp_fastopen.h89 void tcp_fastopen_connect(struct tcpcb *);
90 void tcp_fastopen_disable_path(struct tcpcb *);
91 void tcp_fastopen_update_cache(struct tcpcb *, uint16_t, uint8_t,
123 tcp_fastopen_connect(struct tcpcb *_tp) in tcp_fastopen_connect()
128 tcp_fastopen_disable_path(struct tcpcb *_tp) in tcp_fastopen_disable_path()
133 tcp_fastopen_update_cache(struct tcpcb *_tp, uint16_t _mss, uint8_t _cookie_len, in tcp_fastopen_update_cache()
H A Dtoecore.c93 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_listen_stop()
100 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused, in toedev_input()
109 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_rcvd()
116 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_output()
123 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_pcb_detach()
178 toedev_ctloutput(struct toedev *tod __unused, struct tcpcb *tp __unused, in toedev_ctloutput()
216 struct tcpcb *tp; in toe_listen_start()
239 toe_listen_start_event(void *arg __unused, struct tcpcb *tp) in toe_listen_start_event()
251 toe_listen_stop_event(void *arg __unused, struct tcpcb *tp) in toe_listen_stop_event()
388 struct tcpcb *tp; in toe_4tuple_check()
[all …]
H A Dtcp_hpts.h113 void tcp_hpts_init(struct tcpcb *);
114 void tcp_hpts_remove(struct tcpcb *);
116 tcp_in_hpts(struct tcpcb *tp) in tcp_in_hpts()
147 uint32_t tcp_hpts_insert_diag(struct tcpcb *tp, uint32_t slot, int32_t line,
152 void __tcp_set_hpts(struct tcpcb *tp, int32_t line);
H A Dtcp_timer.c272 typedef bool tcp_timer_t(struct tcpcb *);
294 tcp_output_locked(struct tcpcb *tp) in tcp_output_locked()
311 tcp_timer_delack(struct tcpcb *tp) in tcp_timer_delack()
333 tcp_timer_2msl(struct tcpcb *tp) in tcp_timer_2msl()
382 tcp_timer_keep(struct tcpcb *tp) in tcp_timer_keep()
467 tcp_maxunacktime_check(struct tcpcb *tp) in tcp_maxunacktime_check()
488 tcp_timer_persist(struct tcpcb *tp) in tcp_timer_persist()
553 tcp_timer_rexmt(struct tcpcb *tp) in tcp_timer_rexmt()
863 struct tcpcb *tp = xtp; in tcp_timer_enter()
930 tcp_timer_active(struct tcpcb *tp, tt_which which) in tcp_timer_active()
[all …]
H A Dtcp_sack.c154 tcp_dsack_block_exists(struct tcpcb *tp) in tcp_dsack_block_exists()
402 tcp_clean_dsack_blocks(struct tcpcb *tp) in tcp_clean_dsack_blocks()
444 tcp_clean_sackreport(struct tcpcb *tp) in tcp_clean_sackreport()
458 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) in tcp_sackhole_alloc()
486 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free()
529 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_remove()
831 tcp_free_sackholes(struct tcpcb *tp) in tcp_free_sackholes()
854 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th) in tcp_sack_partialack()
915 tcp_sack_output_debug(struct tcpcb *tp, int *sack_bytes_rexmt)
953 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) in tcp_sack_output()
[all …]
H A Dtcp_usrreq.c202 struct tcpcb *tp; in tcp_usr_detach()
229 struct tcpcb *tp; in tcp_usr_bind()
284 struct tcpcb *tp; in tcp6_usr_bind()
362 struct tcpcb *tp; in tcp_usr_listen()
413 struct tcpcb *tp; in tcp6_usr_listen()
481 struct tcpcb *tp; in tcp_usr_connect()
549 struct tcpcb *tp; in tcp6_usr_connect()
724 struct tcpcb *tp; in tcp_usr_accept()
765 struct tcpcb *tp; in tcp6_usr_accept()
824 struct tcpcb *tp; in tcp_usr_shutdown()
[all …]
H A Dtcp_ecn.c119 tcp_ecn_input_syn_sent(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_syn_sent()
220 tcp_ecn_input_parallel_syn(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_parallel_syn()
284 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos) in tcp_ecn_input_segment()
364 tcp_ecn_output_syn_sent(struct tcpcb *tp) in tcp_ecn_output_syn_sent()
395 tcp_ecn_output_established(struct tcpcb *tp, uint16_t *thflags, int len, bool rxmit) in tcp_ecn_output_established()
460 tcp_ecn_syncache_socket(struct tcpcb *tp, struct syncache *sc) in tcp_ecn_syncache_socket()
H A Dtcp_subr.c1386 struct tcpcb *tp; in deregister_tcp_functions()
1446 struct tcpcb *tcpb; in tcp_drain()
2269 struct tcpcb *
2426 struct tcpcb *
2578 struct tcpcb *
2627 struct tcpcb *tp; in tcp_notify()
2871 struct tcpcb *tp; in tcp_ctlinput_with_port()
3024 struct tcpcb *tp; in tcp6_ctlinput_with_port()
3336 struct tcpcb *tp; in tcp_drop_syn_sent()
3371 struct tcpcb *tp; in tcp_mtudisc()
[all …]
H A Dtcp_log_buf.c306 struct tcpcb *tln_tp;
642 tcp_log_set_id(struct tcpcb *tp, char *id) in tcp_log_set_id()
1025 tcp_log_get_id(struct tcpcb *tp, char *buf) in tcp_log_get_id()
1095 tcp_log_get_id_cnt(struct tcpcb *tp) in tcp_log_get_id_cnt()
1282 tcp_log_tcpcbinit(struct tcpcb *tp) in tcp_log_tcpcbinit()
1426 tcp_log_tcpcbfini(struct tcpcb *tp) in tcp_log_tcpcbfini()
1651 tcp_log_purge_tp_logbuf(struct tcpcb *tp) in tcp_log_purge_tp_logbuf()
1970 tcp_log_drain(struct tcpcb *tp) in tcp_log_drain()
2561 struct tcpcb *tp; in tcp_log_dumpbucketlogs()
2839 tcp_log_flowend(struct tcpcb *tp) in tcp_log_flowend()
[all …]
H A Dtcp_lro_hpts.c142 tcp_lro_check_wake_status(struct tcpcb *tp) in tcp_lro_check_wake_status()
151 tcp_lro_log(struct tcpcb *tp, const struct lro_ctrl *lc, in tcp_lro_log()
202 struct tcpcb *tp, int32_t *new_m, bool can_append_old_cmp) in tcp_lro_get_last_if_ackcmp()
244 do_bpf_strip_and_compress(struct tcpcb *tp, struct lro_ctrl *lc, in do_bpf_strip_and_compress()
456 tcp_queue_pkts(struct tcpcb *tp, struct lro_entry *le) in tcp_queue_pkts()
468 static struct tcpcb *
507 struct tcpcb *tp; in _tcp_lro_flush_tcphpts()
H A Dtcp_hpts.c201 TAILQ_HEAD(, tcpcb) head;
521 tcp_hpts_lock(struct tcpcb *tp) in tcp_hpts_lock()
534 tcp_hpts_release(struct tcpcb *tp) in tcp_hpts_release()
554 tcp_hpts_init(struct tcpcb *tp) in tcp_hpts_init()
570 tcp_hpts_remove(struct tcpcb *tp) in tcp_hpts_remove()
594 struct tcpcb *tmp; in tcp_hpts_remove()
992 hpts_cpuid(struct tcpcb *tp, int *failed) in hpts_cpuid()
1080 struct tcpcb *tp; in tcp_hptsi()
1189 struct tcpcb *tp, *ntp; in tcp_hptsi()
1203 TAILQ_SWAP(&head, &hptsh->head, tcpcb, t_hpts); in tcp_hptsi()
[all …]
H A Dtcp_reass.c197 tcp_log_reassm(struct tcpcb *tp, struct tseg_qent *q, struct tseg_qent *p, in tcp_log_reassm()
235 tcp_reass_log_dump(struct tcpcb *tp) in tcp_reass_log_dump()
247 tcp_reass_log_new_in(struct tcpcb *tp, tcp_seq seq, int len, struct mbuf *m, in tcp_reass_log_new_in()
297 tcp_reass_flush(struct tcpcb *tp) in tcp_reass_flush()
316 tcp_reass_append(struct tcpcb *tp, struct tseg_qent *last, in tcp_reass_append()
342 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th, in tcp_reass_prepend()
378 tcp_reass_replace(struct tcpcb *tp, struct tseg_qent *q, struct mbuf *m, in tcp_reass_replace()
413 tcp_reass_merge_into(struct tcpcb *tp, struct tseg_qent *ent, in tcp_reass_merge_into()
438 tcp_reass_merge_forward(struct tcpcb *tp, struct tseg_qent *ent) in tcp_reass_merge_forward()
518 tcp_reass(struct tcpcb *tp, struct tcphdr *th, tcp_seq *seq_start, in tcp_reass()
/freebsd-14.2/sys/netinet/tcp_stacks/
H A Drack_bbr_common.h88 int ctf_do_queued_segments(struct tcpcb *tp, int have_pkt);
89 uint32_t ctf_outstanding(struct tcpcb *tp);
93 struct tcpcb *tp, int32_t *tlenp,
100 __ctf_do_dropafterack(struct mbuf *m, struct tcpcb *tp,
107 ctf_do_dropwithreset(struct mbuf *m, struct tcpcb *tp,
110 ctf_do_drop(struct mbuf *m, struct tcpcb *tp);
119 struct tcpcb *tp, uint8_t iptos, int32_t * ret_val);
126 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags);
129 ctf_calc_rwin(struct socket *so, struct tcpcb *tp);
136 ctf_fixed_maxseg(struct tcpcb *tp);
[all …]
H A Drack_bbr_common.c485 ctf_do_queued_segments(struct tcpcb *tp, int have_pkt) in ctf_do_queued_segments()
501 ctf_outstanding(struct tcpcb *tp) in ctf_outstanding()
514 ctf_flight_size(struct tcpcb *tp, uint32_t rc_sacked) in ctf_flight_size()
535 ctf_ack_war_checks(struct tcpcb *tp, uint32_t *ts, uint32_t *cnt) in ctf_ack_war_checks()
572 struct tcpcb *tp, int32_t *tlenp, in _ctf_drop_checks()
710 ctf_do_drop(struct mbuf *m, struct tcpcb *tp) in ctf_do_drop()
724 struct tcpcb *tp, uint32_t *ts, uint32_t *cnt) in __ctf_process_rst()
883 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags) in ctf_ts_check_ac()
909 ctf_calc_rwin(struct socket *so, struct tcpcb *tp) in ctf_calc_rwin()
936 ctf_fixed_maxseg(struct tcpcb *tp) in ctf_fixed_maxseg()
[all …]
/freebsd-14.2/sys/dev/cxgbe/tom/
H A Dt4_tom.h482 void t4_pcb_detach(struct toedev *, struct tcpcb *);
494 int t4_listen_start(struct toedev *, struct tcpcb *);
495 int t4_listen_stop(struct toedev *, struct tcpcb *);
516 void send_flowc_wr(struct toepcb *, struct tcpcb *);
521 void t4_rcvd(struct toedev *, struct tcpcb *);
522 void t4_rcvd_locked(struct toedev *, struct tcpcb *);
523 int t4_tod_output(struct toedev *, struct tcpcb *);
524 int t4_send_fin(struct toedev *, struct tcpcb *);
525 int t4_send_rst(struct toedev *, struct tcpcb *);
559 void handle_ddp_close(struct toepcb *, struct tcpcb *, uint32_t);
H A Dt4_cpl_io.c357 struct tcpcb *tp = intotcpcb(inp); in make_established()
644 struct tcpcb *tp = intotcpcb(inp); in t4_push_frames()
970 struct tcpcb *tp = intotcpcb(inp); in write_iscsi_mbuf_wr()
1317 struct tcpcb *tp = NULL; in do_peer_close()
1429 struct tcpcb *tp = NULL; in do_close_con_rpl()
1541 struct tcpcb *tp; in do_abort_req()
1648 struct tcpcb *tp; in do_rx_data()
1814 struct tcpcb *tp; in do_fw4_ack()
2030 struct tcpcb *tp; in jobtotid()
2173 struct tcpcb *tp; in t4_aiotx_process_job()
[all …]
/freebsd-14.2/sbin/ipf/ipsend/
H A Dsock.c153 struct tcpcb *
156 struct tcpcb *t; in find_tcp()
224 t = (struct tcpcb *)calloc(1, sizeof(*t)); in find_tcp()
231 return (struct tcpcb *)i->inp_ppcb; in find_tcp()
251 struct tcpcb *t, tcb; in do_socket()
/freebsd-14.2/sys/netinet/cc/
H A Dcc.h102 struct tcpcb *tcp;
248 void cc_attach(struct tcpcb *, struct cc_algo *);
250 void cc_detach(struct tcpcb *);

123