/src/sys/netinet/ |
tcp_congctl.h | 53 int (*fast_retransmit)(struct tcpcb *, const struct tcphdr *); 58 void (*slow_retransmit)(struct tcpcb *); 65 void (*fast_retransmit_newack)(struct tcpcb *, const struct tcphdr *); 71 void (*newack)(struct tcpcb *, const struct tcphdr *); 76 void (*cong_exp)(struct tcpcb *); 92 int tcp_congctl_select(struct tcpcb *, const char *); 93 void tcp_congctl_release(struct tcpcb *);
|
tcp_var.h | 213 struct tcpcb { struct 418 static __inline int tcp_reass_lock_try (struct tcpcb *) 420 static __inline void tcp_reass_unlock (struct tcpcb *) 424 tcp_reass_lock_try(struct tcpcb *tp) 443 tcp_reass_unlock(struct tcpcb *tp) 457 printf("%s:%d: tcpcb %p reass already locked\n", \ 465 printf("%s:%d: tcpcb %p reass lock not held\n", \ 524 #define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb) 660 #define TCP_STAT_DELAYED_FREE 56 /* delayed pool_put() of tcpcb */ 729 extern struct inpcbtable tcbtable; /* head of queue of active tcpcb's * [all...] |
tcp_congctl.c | 193 static void tcp_common_congestion_exp(struct tcpcb *, int, int); 195 static int tcp_reno_do_fast_retransmit(struct tcpcb *, const struct tcphdr *); 196 static int tcp_reno_fast_retransmit(struct tcpcb *, const struct tcphdr *); 197 static void tcp_reno_slow_retransmit(struct tcpcb *); 198 static void tcp_reno_fast_retransmit_newack(struct tcpcb *, 200 static void tcp_reno_newack(struct tcpcb *, const struct tcphdr *); 201 static void tcp_reno_congestion_exp(struct tcpcb *tp); 203 static int tcp_newreno_fast_retransmit(struct tcpcb *, const struct tcphdr *); 204 static void tcp_newreno_fast_retransmit_newack(struct tcpcb *, 206 static void tcp_newreno_newack(struct tcpcb *, const struct tcphdr *) [all...] |
tcp_debug.h | 60 struct tcpcb td_cb;
|
tcp_syncache.h | 192 struct tcpcb *sc_tp; /* tcb for listening socket */ 214 void syn_cache_insert(struct syn_cache *, struct tcpcb *); 217 void syn_cache_cleanup(struct tcpcb *);
|
tcp_sack.c | 169 sack_allochole(struct tcpcb *tp) 188 sack_inserthole(struct tcpcb *tp, tcp_seq start, tcp_seq end, 208 sack_removehole(struct tcpcb *tp, struct sackhole *hole) 226 tcp_new_dsack(struct tcpcb *tp, tcp_seq seq, u_int32_t len) 241 tcp_sack_option(struct tcpcb *tp, const struct tcphdr *th, const u_char *cp, 403 tcp_del_sackholes(struct tcpcb *tp, const struct tcphdr *th) 428 tcp_free_sackholes(struct tcpcb *tp) 444 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) 473 tcp_sack_adjust(struct tcpcb *tp) 510 tcp_sack_numblks(const struct tcpcb *tp [all...] |
tcp_subr.c | 157 struct inpcbtable tcbtable; /* head of queue of active tcpcb's */ 226 int tcp_freeq(struct tcpcb *); 374 pool_init(&tcpcb_pool, sizeof(struct tcpcb), 0, 0, 0, "tcpcbpl", 388 /* Initialize the TCPCB template. */ 448 tcp_template(struct tcpcb *tp) 604 tcp_respond(struct tcpcb *tp, struct mbuf *mtemplate, struct mbuf *m, 873 * Template TCPCB. Rather than zeroing a new TCPCB and initializing 875 * static and mostly-static components of the TCPCB, and copy it into 876 * the new TCPCB instead [all...] |
tcp_timer.c | 221 * Callout to process delayed ACKs for a TCPCB. 226 struct tcpcb *tp = arg; 283 tcp_canceltimers(struct tcpcb *tp) 303 struct tcpcb *tp = arg; 450 struct tcpcb *tp = arg; 514 struct tcpcb *tp = arg; 593 struct tcpcb *tp = arg;
|
tcp_usrreq.c | 157 tcp_debug_capture(struct tcpcb *tp, int req) 166 tcp_debug_trace(struct socket *so, struct tcpcb *tp, int ostate, int req) 175 change_keepalive(struct socket *so, struct tcpcb *tp) 204 tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti) 262 struct tcpcb *tp; 447 struct tcpcb *tp; 505 struct tcpcb *tp; 522 struct tcpcb *tp; 561 struct tcpcb *tp; 604 struct tcpcb *tp [all...] |
tcp_vtw.h | 358 struct tcpcb; 361 int vtw_add(int, struct tcpcb *);
|
tcp_debug.c | 111 tcp_trace(short act, short ostate, struct tcpcb *tp, struct mbuf *m, int req)
|
tcp_syncache.c | 317 syn_cache_insert(struct syn_cache *sc, struct tcpcb *tp) 401 /* Link it from tcpcb entry */ 478 syn_cache_cleanup(struct tcpcb *tp) 561 struct tcpcb *tp; 881 struct tcpcb tb, *tp; 1088 struct tcpcb *tp;
|
tcp_input.c | 251 nd_hint(struct tcpcb *tp) 290 tcp_setup_ack(struct tcpcb *tp, const struct tcphdr *th) 301 icmp_check(struct tcpcb *tp, const struct tcphdr *th, int acked) 404 static int tcp_reass(struct tcpcb *, const struct tcphdr *, struct mbuf *, 455 tcp_reass(struct tcpcb *tp, const struct tcphdr *th, struct mbuf *m, int tlen) 1197 struct tcpcb *tp = NULL; 3086 tcp_dooptions(struct tcpcb *tp, const u_char *cp, int cnt, struct tcphdr *th, 3274 struct tcpcb *tp = sototcpcb(so); 3298 tcp_xmit_timer(struct tcpcb *tp, uint32_t rtt)
|
tcp_output.c | 226 tcp_segsize(struct tcpcb *tp, int *txsegsizep, int *rxsegsizep, 401 tcp_build_datapkt(struct tcpcb *tp, struct socket *so, int off, 505 tcp_output(struct tcpcb *tp) 1661 tcp_setpersist(struct tcpcb *tp)
|
tcp_vtw.c | 1877 vtw_add(int af, struct tcpcb *tp)
|
/src/sys/netipsec/ |
ipsec6.h | 54 size_t ipsec6_hdrsiz_tcp(struct tcpcb *);
|
ipsec.h | 300 struct tcpcb; 305 size_t ipsec4_hdrsiz_tcp(struct tcpcb *);
|
/src/usr.bin/netstat/ |
inet.c | 281 struct tcpcb tcpcb; local in function:getpcblist_kmem 316 (char *)&tcpcb, sizeof (tcpcb)); 329 pcblist[i].ki_tstate = tcpcb.t_state; 477 p(TCP_STAT_DELAYED_FREE, "\t%" PRIu64 " delayed free%s of tcpcb\n"); 1049 struct tcpcb tcpcb; local in function:tcp_dump 1067 kread(pcbaddr, (char *)&tcpcb, sizeof(tcpcb)); [all...] |
inet6.c | 108 #define tcp6cb tcpcb 148 struct tcpcb tcpcb; variable in typeref:struct:tcpcb 329 (char *)&tcpcb, sizeof (tcpcb)); 342 pcblist[i].ki_tstate = tcpcb.t_state; 1496 #define mypcb tcpcb 1520 ci = (callout_impl_t *)&tcpcb.t_timer[i]; 1544 tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen) [all...] |
/src/usr.sbin/trpt/ |
trpt.c | 144 static void tcp_trace(short, short, struct tcpcb *, struct tcpcb *, 279 dotrace(caddr_t tcpcb) 290 if (tcpcb && td->td_tcb != tcpcb) 296 (struct tcpcb *)td->td_tcb, &td->td_cb, 302 (struct tcpcb *)td->td_tcb, &td->td_cb, 308 (struct tcpcb *)td->td_tcb, &td->td_cb, 317 if (tcpcb && td->td_tcb != tcpcb) [all...] |
/src/usr.bin/systat/ |
netstat.c | 221 struct tcpcb tcpcb; local in function:fetchnetstat4 249 KREAD(inp->inp_ppcb, &tcpcb, sizeof (tcpcb)); 250 enter(inp, &sockb, tcpcb.t_state, "tcp"); 264 struct tcpcb tcpcb; local in function:fetchnetstat6 294 KREAD(inp->inp_ppcb, &tcpcb, sizeof (tcpcb)); 295 enter6(inp, &sockb, tcpcb.t_state, "tcp") [all...] |