Home
last modified time | relevance | path

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

123

/NextBSD/sys/netinet/
HDtcp_var.h90 #define tcp6cb tcpcb /* for KAME src sync over BSD*'s */
103 struct tcpcb;
110 int (*tfb_tcp_output)(struct tcpcb *);
112 struct socket *, struct tcpcb *,
116 struct inpcb *inp, struct tcpcb *tp);
118 void (*tfb_tcp_fb_init)(struct tcpcb *);
119 void (*tfb_tcp_fb_fini)(struct tcpcb *);
121 int (*tfb_tcp_timer_stop_all)(struct tcpcb *);
122 int (*tfb_tcp_timers_left)(struct tcpcb *);
123 void (*tfb_tcp_timer_activate)(struct tcpcb *,
[all …]
HDtoecore.h52 int (*tod_listen_start)(struct toedev *, struct tcpcb *);
53 int (*tod_listen_stop)(struct toedev *, struct tcpcb *);
59 void (*tod_input)(struct toedev *, struct tcpcb *, struct mbuf *);
66 void (*tod_rcvd)(struct toedev *, struct tcpcb *);
72 int (*tod_output)(struct toedev *, struct tcpcb *);
75 int (*tod_send_rst)(struct toedev *, struct tcpcb *);
78 int (*tod_send_fin)(struct toedev *, struct tcpcb *);
81 void (*tod_pcb_detach)(struct toedev *, struct tcpcb *);
101 void (*tod_ctloutput)(struct toedev *, struct tcpcb *, int, int);
105 typedef void (*tcp_offload_listen_start_fn)(void *, struct tcpcb *);
[all …]
HDtcp_offload.h40 void tcp_offload_listen_start(struct tcpcb *);
41 void tcp_offload_listen_stop(struct tcpcb *);
42 void tcp_offload_input(struct tcpcb *, struct mbuf *);
43 int tcp_offload_output(struct tcpcb *);
44 void tcp_offload_rcvd(struct tcpcb *);
45 void tcp_offload_ctloutput(struct tcpcb *, int, int);
46 void tcp_offload_detach(struct tcpcb *);
HDtcp_offload.c93 tcp_offload_listen_start(struct tcpcb *tp) in tcp_offload_listen_start()
102 tcp_offload_listen_stop(struct tcpcb *tp) in tcp_offload_listen_stop()
111 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) in tcp_offload_input()
122 tcp_offload_output(struct tcpcb *tp) in tcp_offload_output()
147 tcp_offload_rcvd(struct tcpcb *tp) in tcp_offload_rcvd()
158 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) in tcp_offload_ctloutput()
169 tcp_offload_detach(struct tcpcb *tp) in tcp_offload_detach()
HDtoecore.c83 toedev_listen_start(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_listen_start()
90 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_listen_stop()
97 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused, in toedev_input()
106 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_rcvd()
113 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_output()
120 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_pcb_detach()
175 toedev_ctloutput(struct toedev *tod __unused, struct tcpcb *tp __unused, in toedev_ctloutput()
189 struct tcpcb *tp; in toe_listen_start()
212 toe_listen_start_event(void *arg __unused, struct tcpcb *tp) in toe_listen_start_event()
224 toe_listen_stop_event(void *arg __unused, struct tcpcb *tp) in toe_listen_stop_event()
[all …]
HDtcp_sack.c158 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) in tcp_update_sack_list()
245 tcp_clean_sackreport(struct tcpcb *tp) in tcp_clean_sackreport()
259 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) in tcp_sackhole_alloc()
287 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free()
303 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end, in tcp_sackhole_insert()
330 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_remove()
354 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) in tcp_sack_doack()
564 tcp_free_sackholes(struct tcpcb *tp) in tcp_free_sackholes()
587 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th) in tcp_sack_partialack()
611 tcp_sack_output_debug(struct tcpcb *tp, int *sack_bytes_rexmt)
[all …]
HDtcp_usrreq.c108 static int tcp_connect(struct tcpcb *, struct sockaddr *,
112 static int tcp6_connect(struct tcpcb *, struct sockaddr *,
115 static void tcp_disconnect(struct tcpcb *);
116 static void tcp_usrclosed(struct tcpcb *);
117 static void tcp_fill_info(struct tcpcb *, struct tcp_info *);
138 struct tcpcb *tp = NULL; in tcp_usr_attach()
173 struct tcpcb *tp; in tcp_detach()
278 struct tcpcb *tp = NULL; in tcp_usr_bind()
320 struct tcpcb *tp = NULL; in tcp6_usr_bind()
383 struct tcpcb *tp = NULL; in tcp_usr_listen()
[all …]
HDtcp_subr.c244 static void tcp_timer_discard(struct tcpcb *, uint32_t);
436 struct tcpcb tcb;
846 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond()
1035 struct tcpcb *
1039 struct tcpcb *tp; in tcp_newtcpcb()
1158 struct tcpcb *tp; in tcp_ccalgounload()
1212 struct tcpcb *
1213 tcp_drop(struct tcpcb *tp, int errno) in tcp_drop()
1233 tcp_discardcb(struct tcpcb *tp) in tcp_discardcb()
1365 tcp_timer_discard((struct tcpcb *)xtp, TT_2MSL); in tcp_timer_2msl_discard()
[all …]
HDtcp_timer.c269 struct tcpcb *tp = xtp; in tcp_timer_delack()
303 struct tcpcb *tp = xtp; in tcp_timer_2msl()
384 struct tcpcb *tp = xtp; in tcp_timer_keep()
485 struct tcpcb *tp = xtp; in tcp_timer_persist()
564 struct tcpcb *tp = xtp; in tcp_timer_rexmt()
814 tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, u_int delta) in tcp_timer_activate()
886 tcp_timer_active(struct tcpcb *tp, uint32_t timer_type) in tcp_timer_active()
916 tcp_timer_stop(struct tcpcb *tp, uint32_t timer_type) in tcp_timer_stop()
985 tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer, in tcp_timer_to_xtimer()
HDtcp_pcap.h35 void tcp_pcap_tcpcb_init(struct tcpcb *tp);
HDtcp_debug.h58 struct tcpcb td_cb;
HDtcp_reass.c120 tcp_reass_flush(struct tcpcb *tp) in tcp_reass_flush()
139 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) in tcp_reass()
HDtcp_input.c262 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) in hhook_run_tcp_est_in()
280 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) in cc_ack_received()
312 cc_conn_init(struct tcpcb *tp) in cc_conn_init()
385 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) in cc_cong_signal()
440 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) in cc_post_recovery()
484 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) in cc_ecnpkt_handler()
566 struct tcpcb *tp = NULL; in tcp_input()
1476 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, in tcp_do_segment()
3224 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, in tcp_dropwithreset()
3404 struct tcpcb *tp = sototcpcb(so); in tcp_pulloutofband()
[all …]
HDcc.h85 struct tcpcb *tcp;
/NextBSD/sys/dev/cxgb/ulp/tom/
HDcxgb_tom.h250 int t3_tod_output(struct toedev *, struct tcpcb *);
251 int t3_send_rst(struct toedev *, struct tcpcb *);
252 int t3_send_fin(struct toedev *, struct tcpcb *);
265 void t3_rcvd(struct toedev *, struct tcpcb *);
266 void t3_pcb_detach(struct toedev *, struct tcpcb *);
272 int t3_listen_start(struct toedev *, struct tcpcb *);
273 int t3_listen_stop(struct toedev *, struct tcpcb *);
HDcxgb_cpl_io.c164 struct tcpcb *tp; in toepcb_detach()
188 t3_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp) in t3_pcb_detach()
354 struct tcpcb *tp = so_sototcpcb(so); in make_tx_data_wr()
427 struct tcpcb *tp = so_sototcpcb(so); in t3_push_frames()
588 t3_rcvd(struct toedev *tod, struct tcpcb *tp) in t3_rcvd()
633 t3_send_fin(struct toedev *tod, struct tcpcb *tp) in t3_send_fin()
655 t3_tod_output(struct toedev *tod, struct tcpcb *tp) in t3_tod_output()
773 struct tcpcb *tp = intotcpcb(inp); in offload_socket()
806 struct tcpcb *tp = intotcpcb(inp); in undo_offload_socket()
842 struct tcpcb *tp = intotcpcb(inp); in calc_opt0h()
[all …]
/NextBSD/sys/dev/cxgbe/tom/
HDt4_tom.h273 int t4_listen_start(struct toedev *, struct tcpcb *);
274 int t4_listen_stop(struct toedev *, struct tcpcb *);
291 void t4_rcvd(struct toedev *, struct tcpcb *);
292 int t4_tod_output(struct toedev *, struct tcpcb *);
293 int t4_send_fin(struct toedev *, struct tcpcb *);
294 int t4_send_rst(struct toedev *, struct tcpcb *);
307 void handle_ddp_close(struct toepcb *, struct tcpcb *, struct sockbuf *,
HDt4_cpl_io.c157 struct tcpcb *tp = intotcpcb(inp); /* don't use if INP_DROPPED */ in send_reset()
211 assign_rxopt(struct tcpcb *tp, unsigned int opt) in assign_rxopt()
263 struct tcpcb *tp = intotcpcb(inp); in make_established()
344 t4_rcvd(struct toedev *tod, struct tcpcb *tp) in t4_rcvd()
475 struct tcpcb *tp = intotcpcb(toep->inp); in write_tx_wr()
564 struct tcpcb *tp = intotcpcb(inp); in t4_push_frames()
797 struct tcpcb *tp = intotcpcb(inp); in t4_push_pdus()
961 t4_tod_output(struct toedev *tod, struct tcpcb *tp) in t4_tod_output()
983 t4_send_fin(struct toedev *tod, struct tcpcb *tp) in t4_send_fin()
1008 t4_send_rst(struct toedev *tod, struct tcpcb *tp) in t4_send_rst()
[all …]
/NextBSD/contrib/ipfilter/ipsend/
HDsock.c201 struct tcpcb *find_tcp(fd, ti) in find_tcp()
205 struct tcpcb *t;
260 t = (struct tcpcb *)calloc(1, sizeof(*t));
267 return (struct tcpcb *)i->inp_ppcb;
292 struct tcpcb *find_tcp(tfd, ti) in find_tcp()
296 struct tcpcb *t;
364 t = (struct tcpcb *)calloc(1, sizeof(*t));
371 return (struct tcpcb *)i->inp_ppcb;
395 struct tcpcb *t, tcb;
HDipsend.h55 extern struct tcpcb *find_tcp __P((int, struct tcpiphdr *));
/NextBSD/usr.sbin/trpt/
HDtrpt.c95 void tcp_trace(short, short, struct tcpcb *, int, void *, struct tcphdr *, int);
221 dotrace(tcpcb) in dotrace() argument
222 register caddr_t tcpcb; in dotrace()
232 if (tcpcb && td->td_tcb != tcpcb)
259 if (tcpcb && td->td_tcb != tcpcb)
306 tcp_trace(short act, short ostate, struct tcpcb *tp, int family __unused, in tcp_trace()
/NextBSD/usr.bin/systat/
HDnetstat.c177 struct tcpcb tcpcb; in fetchnetstat_kvm() local
227 KREAD(inpcb.inp_ppcb, &tcpcb, sizeof (tcpcb)); in fetchnetstat_kvm()
228 enter_kvm(&inpcb, &sockb, tcpcb.t_state, in fetchnetstat_kvm()
/NextBSD/sys/netinet/khelp/
HDh_ertt.c137 marked_packet_rtt(struct txseginfo *txsi, struct ertt *e_t, struct tcpcb *tp, in marked_packet_rtt()
199 struct tcpcb *tp; in ertt_packet_measurement_hook()
433 struct tcpcb *tp; in ertt_add_tx_segment_info_hook()
/NextBSD/sys/netipsec/
HDipsec.h331 struct tcpcb;
336 extern size_t ipsec_hdrsiz_tcp(struct tcpcb *);
/NextBSD/sys/netinet/tcp_stacks/
HDfastpath.c146 struct socket *, struct tcpcb *, int, int, uint8_t,
150 struct socket *, struct tcpcb *, int, int, uint8_t,
178 struct tcpcb *tp, struct tcpopt *to, int drop_hdrlen, int tlen, in tcp_do_fastack()
348 struct tcpcb *tp, struct tcpopt *to, int drop_hdrlen, int tlen, in tcp_do_fastnewdata()
505 struct tcpcb *tp, struct tcpopt *to, int drop_hdrlen, int tlen, in tcp_do_slowpath()
1760 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, in tcp_do_segment_fastslow()
1987 struct tcpcb *tp, struct tcpopt *to, int drop_hdrlen, int tlen, in tcp_fastack()
2202 struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, in tcp_do_segment_fastack()

123