/freebsd-10.2-release/sys/netinet/ |
H A D | tcp_offload.h | 40 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 D | toecore.h | 52 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 D | tcp_var.h | 84 #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 D | tcp_offload.c | 92 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 D | tcp_debug.h | 58 struct tcpcb td_cb;
|
H A D | tcp_sack.c | 157 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 D | tcp_usrreq.c | 99 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 D | toecore.c | 83 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 D | cc.h | 85 struct tcpcb *tcp;
|
H A D | tcp_subr.c | 233 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 D | tcp_timer.h | 206 void tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer,
|
H A D | tcp_timer.c | 219 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 D | tcp_input.c | 224 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 D | tcp_reass.c | 127 tcp_reass_flush(struct tcpcb *tp) 155 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m)
|
H A D | tcp_debug.c | 93 * 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 D | cxgb_tom.h | 250 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 D | cxgb_cpl_io.c | 155 * 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 D | t4_tom.h | 56 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 D | t4_cpl_io.c | 183 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 D | sock.c | 201 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 D | ipsend.h | 55 extern struct tcpcb *find_tcp __P((int, struct tcpiphdr *));
|
/freebsd-10.2-release/usr.sbin/trpt/ |
H A D | trpt.c | 95 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 D | netstat.c | 177 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 D | h_ertt.c | 137 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 D | tcp.d | 165 translator csinfo_t < struct tcpcb *p > { 173 translator tcpsinfo_t < struct tcpcb *p > {
|