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

12

/freebsd-10.2-release/sys/netinet/
H A Dtcp_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 *);
H A Dtoecore.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...]
H A Dtcp_var.h84 #define tcp6cb tcpcb /* for KAME src sync over BSD*'s */
102 struct tcpcb { struct
213 u_int t_flags2; /* More tcpcb flags storage */
299 * processing (in tcp_input), but not held in the tcpcb.
373 #define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb)
558 struct tcpcb *tp;
584 struct tcpcb xt_tp;
618 VNET_DECLARE(struct inpcbhead, tcb); /* queue of active tcpcb's */
659 struct tcpcb *
660 tcp_close(struct tcpcb *);
[all...]
H A Dtcp_offload.c92 tcp_offload_listen_start(struct tcpcb *tp)
101 tcp_offload_listen_stop(struct tcpcb *tp)
110 tcp_offload_input(struct tcpcb *tp, struct mbuf *m)
121 tcp_offload_output(struct tcpcb *tp)
146 tcp_offload_rcvd(struct tcpcb *tp)
157 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name)
168 tcp_offload_detach(struct tcpcb *tp)
H A Dtcp_debug.h58 struct tcpcb td_cb;
H A Dtcp_sack.c157 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end)
244 tcp_clean_sackreport(struct tcpcb *tp)
258 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end)
286 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole)
302 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end,
329 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole)
349 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack)
549 tcp_free_sackholes(struct tcpcb *tp)
572 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th)
596 tcp_sack_output_debug(struct tcpcb *t
[all...]
H A Dtcp_usrreq.c99 static int tcp_connect(struct tcpcb *, struct sockaddr *,
103 static int tcp6_connect(struct tcpcb *, struct sockaddr *,
106 static void tcp_disconnect(struct tcpcb *);
107 static void tcp_usrclosed(struct tcpcb *);
108 static void tcp_fill_info(struct tcpcb *, struct tcp_info *);
129 struct tcpcb *tp = NULL;
163 struct tcpcb *tp;
263 struct tcpcb *tp = NULL;
304 struct tcpcb *tp = NULL;
366 struct tcpcb *t
[all...]
H A Dtoecore.c83 toedev_listen_start(struct toedev *tod __unused, struct tcpcb *tp __unused)
90 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused)
97 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused,
106 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused)
113 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused)
120 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused)
175 toedev_ctloutput(struct toedev *tod __unused, struct tcpcb *tp __unused,
189 struct tcpcb *tp;
212 toe_listen_start_event(void *arg __unused, struct tcpcb *tp)
224 toe_listen_stop_event(void *arg __unused, struct tcpcb *t
[all...]
H A Dcc.h85 struct tcpcb *tcp;
H A Dtcp_subr.c233 static void tcp_timer_discard(struct tcpcb *, uint32_t);
248 * separate because the tcpcb structure is exported to userland for sysctl
252 struct tcpcb tcb;
371 V_tcpcb_zone = uma_zcreate("tcpcb", sizeof(struct tcpcb_mem),
453 * Fill in the IP and TCP headers for an outgoing packet, given the tcpcb.
455 * of the tcpcb each time to conserve mbufs.
544 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m,
732 struct tcpcb *
736 struct tcpcb *tp;
746 /* Initialise cc_var struct for this tcpcb
[all...]
H A Dtcp_timer.h206 void tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer,
H A Dtcp_timer.c219 struct tcpcb *tp = xtp;
239 ("%s: tp %p tcpcb can't be stopped here", __func__, tp));
253 struct tcpcb *tp = xtp;
281 ("%s: tp %p tcpcb can't be stopped here", __func__, tp));
324 struct tcpcb *tp = xtp;
352 ("%s: tp %p tcpcb can't be stopped here", __func__, tp));
423 struct tcpcb *tp = xtp;
450 ("%s: tp %p tcpcb can't be stopped here", __func__, tp));
501 struct tcpcb *tp = xtp;
531 ("%s: tp %p tcpcb ca
[all...]
H A Dtcp_input.c224 struct socket *, struct tcpcb *, int, int, uint8_t,
227 struct tcpcb *, int, int);
230 static void tcp_xmit_timer(struct tcpcb *, int);
231 static void tcp_newreno_partial_ack(struct tcpcb *, struct tcphdr *);
232 static void inline cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
234 static void inline cc_conn_init(struct tcpcb *tp);
235 static void inline cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
236 static void inline hhook_run_tcp_est_in(struct tcpcb *tp,
265 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to)
283 cc_ack_received(struct tcpcb *t
[all...]
H A Dtcp_reass.c127 tcp_reass_flush(struct tcpcb *tp)
155 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m)
H A Dtcp_debug.c93 * Save TCP state at a given moment; optionally, both tcpcb and TCP packet
97 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen,
/freebsd-10.2-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_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 *);
H A Dcxgb_cpl_io.c155 * One sided detach. The tcpcb is going away and we need to unhook the toepcb
163 struct tcpcb *tp;
187 t3_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp)
353 struct tcpcb *tp = so_sototcpcb(so);
426 struct tcpcb *tp = so_sototcpcb(so);
587 t3_rcvd(struct toedev *tod, struct tcpcb *tp)
632 t3_send_fin(struct toedev *tod, struct tcpcb *tp)
654 t3_tod_output(struct toedev *tod, struct tcpcb *tp)
772 struct tcpcb *tp = intotcpcb(inp);
805 struct tcpcb *t
[all...]
/freebsd-10.2-release/sys/dev/cxgbe/tom/
H A Dt4_tom.h56 TPF_ATTACHED = (1 << 0), /* a tcpcb refers to this toepcb */
253 int t4_listen_start(struct toedev *, struct tcpcb *);
254 int t4_listen_stop(struct toedev *, struct tcpcb *);
271 void t4_rcvd(struct toedev *, struct tcpcb *);
272 int t4_tod_output(struct toedev *, struct tcpcb *);
273 int t4_send_fin(struct toedev *, struct tcpcb *);
274 int t4_send_rst(struct toedev *, struct tcpcb *);
H A Dt4_cpl_io.c183 struct tcpcb *tp = intotcpcb(inp); /* don't use if INP_DROPPED */
237 assign_rxopt(struct tcpcb *tp, unsigned int opt)
290 struct tcpcb *tp = intotcpcb(inp);
371 t4_rcvd(struct toedev *tod, struct tcpcb *tp)
516 struct tcpcb *tp = intotcpcb(toep->inp);
605 struct tcpcb *tp = intotcpcb(inp);
815 struct tcpcb *tp;
978 t4_tod_output(struct toedev *tod, struct tcpcb *tp)
997 t4_send_fin(struct toedev *tod, struct tcpcb *tp)
1022 t4_send_rst(struct toedev *tod, struct tcpcb *t
[all...]
/freebsd-10.2-release/contrib/ipfilter/ipsend/
H A Dsock.c201 struct tcpcb *find_tcp(fd, ti)
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)
296 struct tcpcb *t;
364 t = (struct tcpcb *)calloc(1, sizeof(*t));
371 return (struct tcpcb *)i->inp_ppcb;
395 struct tcpcb *t, tcb;
H A Dipsend.h55 extern struct tcpcb *find_tcp __P((int, struct tcpiphdr *));
/freebsd-10.2-release/usr.sbin/trpt/
H A Dtrpt.c95 void tcp_trace(short, short, struct tcpcb *, int, void *, struct tcphdr *, int);
219 dotrace(tcpcb)
220 register caddr_t tcpcb;
230 if (tcpcb && td->td_tcb != tcpcb)
257 if (tcpcb && td->td_tcb != tcpcb)
304 tcp_trace(short act, short ostate, struct tcpcb *tp, int family __unused,
/freebsd-10.2-release/usr.bin/systat/
H A Dnetstat.c177 struct tcpcb tcpcb; local
227 KREAD(inpcb.inp_ppcb, &tcpcb, sizeof (tcpcb));
228 enter_kvm(&inpcb, &sockb, tcpcb.t_state,
/freebsd-10.2-release/sys/netinet/khelp/
H A Dh_ertt.c137 marked_packet_rtt(struct txseginfo *txsi, struct ertt *e_t, struct tcpcb *tp,
199 struct tcpcb *tp;
433 struct tcpcb *tp;
/freebsd-10.2-release/cddl/lib/libdtrace/
H A Dtcp.d165 translator csinfo_t < struct tcpcb *p > {
173 translator tcpsinfo_t < struct tcpcb *p > {

Completed in 188 milliseconds

12