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

123

/freebsd-current/sys/netinet/
H A Dtcp_offload.h41 struct tcpcb;
44 void tcp_offload_listen_start(struct tcpcb *);
45 void tcp_offload_listen_stop(struct tcpcb *);
46 void tcp_offload_input(struct tcpcb *, struct mbuf *);
47 int tcp_offload_output(struct tcpcb *);
48 void tcp_offload_rcvd(struct tcpcb *);
49 void tcp_offload_ctloutput(struct tcpcb *, int, int);
50 void tcp_offload_tcp_info(const struct tcpcb *, struct tcp_info *);
51 int tcp_offload_alloc_tls_session(struct tcpcb *, struct ktls_session *, int);
52 void tcp_offload_detach(struct tcpcb *);
[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 Dtoecore.h39 struct tcpcb;
59 int (*tod_listen_start)(struct toedev *, struct tcpcb *);
60 int (*tod_listen_stop)(struct toedev *, struct tcpcb *);
66 void (*tod_input)(struct toedev *, struct tcpcb *, struct mbuf *);
73 void (*tod_rcvd)(struct toedev *, struct tcpcb *);
79 int (*tod_output)(struct toedev *, struct tcpcb *);
82 int (*tod_send_rst)(struct toedev *, struct tcpcb *);
85 int (*tod_send_fin)(struct toedev *, struct tcpcb *);
88 void (*tod_pcb_detach)(struct toedev *, struct tcpcb *);
108 void (*tod_ctloutput)(struct toedev *, struct tcpcb *, in
[all...]
H A Dtcp_fastopen.h82 struct tcpcb;
90 void tcp_fastopen_connect(struct tcpcb *);
91 void tcp_fastopen_disable_path(struct tcpcb *);
92 void tcp_fastopen_update_cache(struct tcpcb *, uint16_t, uint8_t,
124 tcp_fastopen_connect(struct tcpcb *_tp)
129 tcp_fastopen_disable_path(struct tcpcb *_tp)
134 tcp_fastopen_update_cache(struct tcpcb *_tp, uint16_t _mss, uint8_t _cookie_len,
H A Dtcp_var.h308 struct tcpcb { struct
311 #define t_zero_size (sizeof(struct tcpcb) - \
312 offsetof(struct tcpcb, t_start_zero))
321 TAILQ_ENTRY(tcpcb) t_hpts; /* linkage to HPTS ring */
364 u_int t_flags2; /* More tcpcb flags storage */
612 int (*tfb_tcp_output)(struct tcpcb *);
613 void (*tfb_tcp_do_segment)(struct tcpcb *, struct mbuf *,
615 int (*tfb_do_segment_nounlock)(struct tcpcb *, struct mbuf *,
617 int (*tfb_do_queued_segments)(struct tcpcb *, int);
618 int (*tfb_tcp_ctloutput)(struct tcpcb *, struc
[all...]
H A Dtcp_pcap.h33 void tcp_pcap_tcpcb_init(struct tcpcb *tp);
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_1mss,
136 tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *ifp,
146 struct tcpcb *tp, struct ifnet *ifp,
156 struct tcpcb *tp)
174 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss,
232 tcp_get_pacing_burst_size(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss,
H A Dtcp_log_buf.h393 tcp_bblogging_on(struct tcpcb *tp)
408 tcp_bblogging_point_on(struct tcpcb *tp, uint8_t bbpoint)
421 tcp_set_bblog_state(struct tcpcb *tp, uint8_t ls, uint8_t bbpoint)
441 tcp_get_bblog_state(struct tcpcb *tp)
447 tcp_trace_point(struct tcpcb *tp, int num)
508 * tcp_bblogging_point_on(struct tcpcb *tp, uint8_t bbpoint) inline to enclose
516 * tcp_set_bblog_state(struct tcpcb *tp, uint8_t ls, uint8_t bbpoint)
523 * TCP_LOG_EVENT(struct tcpcb *tp, struct tcphdr *th, struct sockbuf *rxbuf,
536 struct tcpcb;
562 void tcp_log_drain(struct tcpcb *t
[all...]
H A Dtcp_offload.c113 tcp_offload_listen_start(struct tcpcb *tp)
122 tcp_offload_listen_stop(struct tcpcb *tp)
131 tcp_offload_input(struct tcpcb *tp, struct mbuf *m)
142 tcp_offload_output(struct tcpcb *tp)
167 tcp_offload_rcvd(struct tcpcb *tp)
178 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name)
189 tcp_offload_tcp_info(const struct tcpcb *tp, struct tcp_info *ti)
200 tcp_offload_alloc_tls_session(struct tcpcb *tp, struct ktls_session *tls,
212 tcp_offload_detach(struct tcpcb *tp)
223 tcp_offload_pmtu_update(struct tcpcb *t
[all...]
H A Dtoecore.c86 toedev_listen_start(struct toedev *tod __unused, struct tcpcb *tp __unused)
93 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused)
100 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused,
109 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused)
116 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused)
123 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused)
178 toedev_ctloutput(struct toedev *tod __unused, struct tcpcb *tp __unused,
186 toedev_tcp_info(struct toedev *tod __unused, const struct tcpcb *tp __unused,
194 toedev_alloc_tls_session(struct toedev *tod __unused, struct tcpcb *tp __unused,
202 toedev_pmtu_update(struct toedev *tod __unused, struct tcpcb *t
[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)
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_sack.c161 tcp_dsack_block_exists(struct tcpcb *tp)
176 tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
272 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
409 tcp_clean_dsack_blocks(struct tcpcb *tp)
451 tcp_clean_sackreport(struct tcpcb *tp)
465 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end)
493 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole)
509 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end,
536 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole)
559 tcp_sack_doack(struct tcpcb *t
[all...]
H A Dtcp_usrreq.c117 static int tcp_connect(struct tcpcb *, struct sockaddr_in *,
121 static int tcp6_connect(struct tcpcb *, struct sockaddr_in6 *,
124 static void tcp_disconnect(struct tcpcb *);
125 static void tcp_usrclosed(struct tcpcb *);
126 static void tcp_fill_info(const struct tcpcb *, struct tcp_info *);
128 static int tcp_pru_options_support(struct tcpcb *tp, int flags);
131 tcp_bblog_pru(struct tcpcb *tp, uint32_t pru, int error)
159 struct tcpcb *tp = NULL;
206 struct tcpcb *tp;
233 struct tcpcb *t
[all...]
H A Dtcp_timer.c270 typedef bool tcp_timer_t(struct tcpcb *);
288 * but keeps tcpcb locked unless tcp_drop() destroyed it.
289 * Returns true if tcpcb is valid and locked.
292 tcp_output_locked(struct tcpcb *tp)
309 tcp_timer_delack(struct tcpcb *tp)
331 tcp_timer_2msl(struct tcpcb *tp)
380 tcp_timer_keep(struct tcpcb *tp)
465 tcp_maxunacktime_check(struct tcpcb *tp)
486 tcp_timer_persist(struct tcpcb *tp)
551 tcp_timer_rexmt(struct tcpcb *t
[all...]
H A Dtcp_ecn.c120 tcp_ecn_input_syn_sent(struct tcpcb *tp, uint16_t thflags, int iptos)
226 tcp_ecn_input_parallel_syn(struct tcpcb *tp, uint16_t thflags, int iptos)
294 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos)
374 tcp_ecn_output_syn_sent(struct tcpcb *tp)
404 tcp_ecn_output_established(struct tcpcb *tp, uint16_t *thflags, int len, bool rxmit)
459 * Set up the ECN related tcpcb fields from
463 tcp_ecn_syncache_socket(struct tcpcb *tp, struct syncache *sc)
H A Dtcp_subr.c340 static int tcp_default_fb_init(struct tcpcb *tp, void **ptr);
341 static void tcp_default_fb_fini(struct tcpcb *tp, int tcb_is_purged);
342 static int tcp_default_handoff_ok(struct tcpcb *tp);
349 static void tcp_default_switch_failed(struct tcpcb *tp);
370 tcp_record_dsack(struct tcpcb *tp, tcp_seq start, tcp_seq end, int tlp)
496 tcp_switch_back_to_default(struct tcpcb *tp)
1012 tcp_default_handoff_ok(struct tcpcb *tp)
1028 tcp_default_fb_init(struct tcpcb *tp, void **ptr)
1112 tcp_default_fb_fini(struct tcpcb *tp, int tcb_is_purged)
1133 INPCBSTORAGE_DEFINE(tcpcbstor, tcpcb, "tcpin
[all...]
H A Dtcp_lro_hpts.c142 tcp_lro_check_wake_status(struct tcpcb *tp)
151 tcp_lro_log(struct tcpcb *tp, const struct lro_ctrl *lc,
202 struct tcpcb *tp, int32_t *new_m, bool can_append_old_cmp)
244 do_bpf_strip_and_compress(struct tcpcb *tp, struct lro_ctrl *lc,
456 tcp_queue_pkts(struct tcpcb *tp, struct lro_entry *le)
468 static struct tcpcb *
507 struct tcpcb *tp;
H A Dtcp_reass.c195 tcp_log_reassm(struct tcpcb *tp, struct tseg_qent *q, struct tseg_qent *p,
233 tcp_reass_log_dump(struct tcpcb *tp)
245 tcp_reass_log_new_in(struct tcpcb *tp, tcp_seq seq, int len, struct mbuf *m,
295 tcp_reass_flush(struct tcpcb *tp)
314 tcp_reass_append(struct tcpcb *tp, struct tseg_qent *last,
340 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th,
376 tcp_reass_replace(struct tcpcb *tp, struct tseg_qent *q, struct mbuf *m,
411 tcp_reass_merge_into(struct tcpcb *tp, struct tseg_qent *ent,
436 tcp_reass_merge_forward(struct tcpcb *tp, struct tseg_qent *ent)
516 tcp_reass(struct tcpcb *t
[all...]
/freebsd-current/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);
90 uint32_t ctf_flight_size(struct tcpcb *tp, uint32_t rc_sacked);
93 struct tcpcb *tp, int32_t *tlenp,
96 void ctf_ack_war_checks(struct tcpcb *tp, uint32_t *ts, uint32_t *cnt);
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);
114 struct socket *so, struct tcpcb *tp, uint32_t *ts, uint32_t *cnt);
119 struct tcpcb *t
[all...]
H A Dsack_filter.h81 * passing in the tcpcb, the sack-filter you are using (memory you have allocated) the
116 int sack_filter_blks(struct tcpcb *tp, struct sack_filter *sf, struct sackblk *in, int numblks,
H A Drack_bbr_common.c325 ctf_process_inbound_raw(struct tcpcb *tp, struct mbuf *m, int has_pkt)
485 ctf_do_queued_segments(struct tcpcb *tp, int have_pkt)
493 /* We lost the tcpcb (maybe a RST came in)? */
501 ctf_outstanding(struct tcpcb *tp)
514 ctf_flight_size(struct tcpcb *tp, uint32_t rc_sacked)
524 ctf_do_dropwithreset(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th,
535 ctf_ack_war_checks(struct tcpcb *tp, uint32_t *ts, uint32_t *cnt)
572 struct tcpcb *tp, int32_t *tlenp,
680 __ctf_do_dropafterack(struct mbuf *m, struct tcpcb *tp, struct tcphdr *th, int32_t thflags, int32_t tlen, int32_t *ret_val, uint32_t *ts, uint32_t *cnt)
710 ctf_do_drop(struct mbuf *m, struct tcpcb *t
[all...]
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_tom.h62 TPF_ATTACHED = (1 << 0), /* a tcpcb refers to this toepcb */
482 int t4_listen_start(struct toedev *, struct tcpcb *);
483 int t4_listen_stop(struct toedev *, struct tcpcb *);
500 void send_flowc_wr(struct toepcb *, struct tcpcb *);
505 void t4_rcvd(struct toedev *, struct tcpcb *);
506 void t4_rcvd_locked(struct toedev *, struct tcpcb *);
507 int t4_tod_output(struct toedev *, struct tcpcb *);
508 int t4_send_fin(struct toedev *, struct tcpcb *);
509 int t4_send_rst(struct toedev *, struct tcpcb *);
543 void handle_ddp_close(struct toepcb *, struct tcpcb *, uint32_
[all...]
/freebsd-current/sbin/ipf/ipsend/
H A Dsock.c149 struct tcpcb *
152 struct tcpcb *t;
220 t = (struct tcpcb *)calloc(1, sizeof(*t));
227 return (struct tcpcb *)i->inp_ppcb;
247 struct tcpcb *t, tcb;
H A Dipsend.h44 extern struct tcpcb *find_tcp(int, struct tcpiphdr *);
/freebsd-current/sys/netinet/cc/
H A Dcc.h102 struct tcpcb *tcp;
249 /* Called to attach a CC algorithm to a tcpcb */
250 void cc_attach(struct tcpcb *, struct cc_algo *);
251 /* Called to detach a CC algorithm from a tcpcb */
252 void cc_detach(struct tcpcb *);

Completed in 161 milliseconds

123