sys/netinet/tcp_congctl.c
193
static void tcp_common_congestion_exp(struct tcpcb *, int, int);
sys/netinet/tcp_congctl.c
195
static int tcp_reno_do_fast_retransmit(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
196
static int tcp_reno_fast_retransmit(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
197
static void tcp_reno_slow_retransmit(struct tcpcb *);
sys/netinet/tcp_congctl.c
198
static void tcp_reno_fast_retransmit_newack(struct tcpcb *,
sys/netinet/tcp_congctl.c
200
static void tcp_reno_newack(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
201
static void tcp_reno_congestion_exp(struct tcpcb *tp);
sys/netinet/tcp_congctl.c
203
static int tcp_newreno_fast_retransmit(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
204
static void tcp_newreno_fast_retransmit_newack(struct tcpcb *,
sys/netinet/tcp_congctl.c
206
static void tcp_newreno_newack(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
208
static int tcp_cubic_fast_retransmit(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
209
static void tcp_cubic_slow_retransmit(struct tcpcb *tp);
sys/netinet/tcp_congctl.c
210
static void tcp_cubic_newack(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.c
211
static void tcp_cubic_congestion_exp(struct tcpcb *);
sys/netinet/tcp_congctl.c
318
tcp_congctl_select(struct tcpcb *tp, const char *name)
sys/netinet/tcp_congctl.c
363
tcp_congctl_release(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
428
tcp_common_congestion_exp(struct tcpcb *tp, int betaa, int betab)
sys/netinet/tcp_congctl.c
458
tcp_reno_congestion_exp(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
465
tcp_reno_do_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
504
tcp_reno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
520
tcp_reno_slow_retransmit(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
564
tcp_reno_fast_retransmit_newack(struct tcpcb *tp,
sys/netinet/tcp_congctl.c
589
tcp_reno_newack(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
657
tcp_newreno_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
679
tcp_newreno_fast_retransmit_newack(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
773
tcp_newreno_newack(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
798
static void tcp_cubic_update_ctime(struct tcpcb *tp);
sys/netinet/tcp_congctl.c
799
static uint32_t tcp_cubic_diff_ctime(struct tcpcb *);
sys/netinet/tcp_congctl.c
801
static ulong tcp_cubic_getW(struct tcpcb *, uint32_t, uint32_t);
sys/netinet/tcp_congctl.c
808
tcp_cubic_update_ctime(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
821
tcp_cubic_diff_ctime(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
865
tcp_cubic_getW(struct tcpcb *tp, uint32_t ms_elapsed, uint32_t rtt)
sys/netinet/tcp_congctl.c
881
tcp_cubic_congestion_exp(struct tcpcb *tp)
sys/netinet/tcp_congctl.c
906
tcp_cubic_fast_retransmit(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
925
tcp_cubic_newack(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_congctl.c
963
tcp_cubic_slow_retransmit(struct tcpcb *tp)
sys/netinet/tcp_congctl.h
53
int (*fast_retransmit)(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.h
58
void (*slow_retransmit)(struct tcpcb *);
sys/netinet/tcp_congctl.h
65
void (*fast_retransmit_newack)(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.h
71
void (*newack)(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_congctl.h
76
void (*cong_exp)(struct tcpcb *);
sys/netinet/tcp_congctl.h
92
int tcp_congctl_select(struct tcpcb *, const char *);
sys/netinet/tcp_congctl.h
93
void tcp_congctl_release(struct tcpcb *);
sys/netinet/tcp_debug.c
111
tcp_trace(short act, short ostate, struct tcpcb *tp, struct mbuf *m, int req)
sys/netinet/tcp_debug.h
60
struct tcpcb td_cb;
sys/netinet/tcp_input.c
1197
struct tcpcb *tp = NULL;
sys/netinet/tcp_input.c
251
nd_hint(struct tcpcb *tp)
sys/netinet/tcp_input.c
290
tcp_setup_ack(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_input.c
301
icmp_check(struct tcpcb *tp, const struct tcphdr *th, int acked)
sys/netinet/tcp_input.c
3086
tcp_dooptions(struct tcpcb *tp, const u_char *cp, int cnt, struct tcphdr *th,
sys/netinet/tcp_input.c
3274
struct tcpcb *tp = sototcpcb(so);
sys/netinet/tcp_input.c
3298
tcp_xmit_timer(struct tcpcb *tp, uint32_t rtt)
sys/netinet/tcp_input.c
404
static int tcp_reass(struct tcpcb *, const struct tcphdr *, struct mbuf *,
sys/netinet/tcp_input.c
455
tcp_reass(struct tcpcb *tp, const struct tcphdr *th, struct mbuf *m, int tlen)
sys/netinet/tcp_output.c
1661
tcp_setpersist(struct tcpcb *tp)
sys/netinet/tcp_output.c
226
tcp_segsize(struct tcpcb *tp, int *txsegsizep, int *rxsegsizep,
sys/netinet/tcp_output.c
401
tcp_build_datapkt(struct tcpcb *tp, struct socket *so, int off,
sys/netinet/tcp_output.c
505
tcp_output(struct tcpcb *tp)
sys/netinet/tcp_sack.c
169
sack_allochole(struct tcpcb *tp)
sys/netinet/tcp_sack.c
188
sack_inserthole(struct tcpcb *tp, tcp_seq start, tcp_seq end,
sys/netinet/tcp_sack.c
208
sack_removehole(struct tcpcb *tp, struct sackhole *hole)
sys/netinet/tcp_sack.c
226
tcp_new_dsack(struct tcpcb *tp, tcp_seq seq, u_int32_t len)
sys/netinet/tcp_sack.c
241
tcp_sack_option(struct tcpcb *tp, const struct tcphdr *th, const u_char *cp,
sys/netinet/tcp_sack.c
403
tcp_del_sackholes(struct tcpcb *tp, const struct tcphdr *th)
sys/netinet/tcp_sack.c
428
tcp_free_sackholes(struct tcpcb *tp)
sys/netinet/tcp_sack.c
444
tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt)
sys/netinet/tcp_sack.c
473
tcp_sack_adjust(struct tcpcb *tp)
sys/netinet/tcp_sack.c
510
tcp_sack_numblks(const struct tcpcb *tp)
sys/netinet/tcp_sack.c
533
void sack_dump(const struct tcpcb *);
sys/netinet/tcp_sack.c
536
sack_dump(const struct tcpcb *tp)
sys/netinet/tcp_subr.c
1017
struct tcpcb *
sys/netinet/tcp_subr.c
1018
tcp_drop(struct tcpcb *tp, int errno)
sys/netinet/tcp_subr.c
1046
struct tcpcb *
sys/netinet/tcp_subr.c
1047
tcp_close(struct tcpcb *tp)
sys/netinet/tcp_subr.c
1172
tcp_freeq(struct tcpcb *tp)
sys/netinet/tcp_subr.c
1214
struct tcpcb *tp;
sys/netinet/tcp_subr.c
1249
struct tcpcb *tp = (struct tcpcb *)inp->inp_ppcb;
sys/netinet/tcp_subr.c
1389
struct tcpcb *tp;
sys/netinet/tcp_subr.c
1519
struct tcpcb *tp = intotcpcb(inp);
sys/netinet/tcp_subr.c
1552
struct tcpcb *tp = intotcpcb(inp);
sys/netinet/tcp_subr.c
1612
struct tcpcb *tp = intotcpcb(inp);
sys/netinet/tcp_subr.c
1741
tcp_mss_from_peer(struct tcpcb *tp, int offer)
sys/netinet/tcp_subr.c
1826
tcp_established(struct tcpcb *tp)
sys/netinet/tcp_subr.c
1930
tcp_rmx_rtt(struct tcpcb *tp)
sys/netinet/tcp_subr.c
1976
tcp_new_iss(struct tcpcb *tp)
sys/netinet/tcp_subr.c
2073
ipsec4_hdrsiz_tcp(struct tcpcb *tp)
sys/netinet/tcp_subr.c
2096
ipsec6_hdrsiz_tcp(struct tcpcb *tp)
sys/netinet/tcp_subr.c
2130
tcp_optlen(struct tcpcb *tp)
sys/netinet/tcp_subr.c
2148
tcp_hdrsz(struct tcpcb *tp)
sys/netinet/tcp_subr.c
226
int tcp_freeq(struct tcpcb *);
sys/netinet/tcp_subr.c
374
pool_init(&tcpcb_pool, sizeof(struct tcpcb), 0, 0, 0, "tcpcbpl",
sys/netinet/tcp_subr.c
448
tcp_template(struct tcpcb *tp)
sys/netinet/tcp_subr.c
604
tcp_respond(struct tcpcb *tp, struct mbuf *mtemplate, struct mbuf *m,
sys/netinet/tcp_subr.c
879
static struct tcpcb tcpcb_template = {
sys/netinet/tcp_subr.c
904
struct tcpcb *tp = &tcpcb_template;
sys/netinet/tcp_subr.c
944
struct tcpcb *
sys/netinet/tcp_subr.c
947
struct tcpcb *tp;
sys/netinet/tcp_syncache.c
1088
struct tcpcb *tp;
sys/netinet/tcp_syncache.c
317
syn_cache_insert(struct syn_cache *sc, struct tcpcb *tp)
sys/netinet/tcp_syncache.c
478
syn_cache_cleanup(struct tcpcb *tp)
sys/netinet/tcp_syncache.c
561
struct tcpcb *tp;
sys/netinet/tcp_syncache.c
881
struct tcpcb tb, *tp;
sys/netinet/tcp_syncache.h
192
struct tcpcb *sc_tp; /* tcb for listening socket */
sys/netinet/tcp_syncache.h
214
void syn_cache_insert(struct syn_cache *, struct tcpcb *);
sys/netinet/tcp_syncache.h
217
void syn_cache_cleanup(struct tcpcb *);
sys/netinet/tcp_timer.c
226
struct tcpcb *tp = arg;
sys/netinet/tcp_timer.c
283
tcp_canceltimers(struct tcpcb *tp)
sys/netinet/tcp_timer.c
303
struct tcpcb *tp = arg;
sys/netinet/tcp_timer.c
450
struct tcpcb *tp = arg;
sys/netinet/tcp_timer.c
514
struct tcpcb *tp = arg;
sys/netinet/tcp_timer.c
593
struct tcpcb *tp = arg;
sys/netinet/tcp_usrreq.c
1003
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
1040
struct tcpcb *tp = NULL;
sys/netinet/tcp_usrreq.c
1144
struct tcpcb *
sys/netinet/tcp_usrreq.c
1145
tcp_disconnect1(struct tcpcb *tp)
sys/netinet/tcp_usrreq.c
1175
struct tcpcb *
sys/netinet/tcp_usrreq.c
1176
tcp_usrclosed(struct tcpcb *tp)
sys/netinet/tcp_usrreq.c
1428
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
1463
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
157
tcp_debug_capture(struct tcpcb *tp, int req)
sys/netinet/tcp_usrreq.c
1619
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
166
tcp_debug_trace(struct socket *so, struct tcpcb *tp, int ostate, int req)
sys/netinet/tcp_usrreq.c
175
change_keepalive(struct socket *so, struct tcpcb *tp)
sys/netinet/tcp_usrreq.c
204
tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti)
sys/netinet/tcp_usrreq.c
262
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
447
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
505
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
522
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
561
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
604
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
645
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
730
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
751
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
786
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
815
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
866
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
896
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
926
struct tcpcb *tp;
sys/netinet/tcp_usrreq.c
960
struct tcpcb *tp;
sys/netinet/tcp_var.h
418
static __inline int tcp_reass_lock_try (struct tcpcb *)
sys/netinet/tcp_var.h
420
static __inline void tcp_reass_unlock (struct tcpcb *)
sys/netinet/tcp_var.h
424
tcp_reass_lock_try(struct tcpcb *tp)
sys/netinet/tcp_var.h
443
tcp_reass_unlock(struct tcpcb *tp)
sys/netinet/tcp_var.h
524
#define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb)
sys/netinet/tcp_var.h
790
void tcp_canceltimers(struct tcpcb *);
sys/netinet/tcp_var.h
791
struct tcpcb *
sys/netinet/tcp_var.h
792
tcp_close(struct tcpcb *);
sys/netinet/tcp_var.h
793
int tcp_isdead(struct tcpcb *);
sys/netinet/tcp_var.h
799
struct tcpcb *
sys/netinet/tcp_var.h
800
tcp_disconnect1(struct tcpcb *);
sys/netinet/tcp_var.h
801
struct tcpcb *
sys/netinet/tcp_var.h
802
tcp_drop(struct tcpcb *, int);
sys/netinet/tcp_var.h
811
void tcp_established(struct tcpcb *);
sys/netinet/tcp_var.h
818
u_int tcp_hdrsz(struct tcpcb *);
sys/netinet/tcp_var.h
820
void tcp_mss_from_peer(struct tcpcb *, int);
sys/netinet/tcp_var.h
822
struct tcpcb *
sys/netinet/tcp_var.h
825
u_int tcp_optlen(struct tcpcb *);
sys/netinet/tcp_var.h
826
int tcp_output(struct tcpcb *);
sys/netinet/tcp_var.h
839
int tcp_respond(struct tcpcb *, struct mbuf *, struct mbuf *,
sys/netinet/tcp_var.h
841
void tcp_rmx_rtt(struct tcpcb *);
sys/netinet/tcp_var.h
842
void tcp_setpersist(struct tcpcb *);
sys/netinet/tcp_var.h
849
tcp_template(struct tcpcb *);
sys/netinet/tcp_var.h
850
void tcp_trace(short, short, struct tcpcb *, struct mbuf *, int);
sys/netinet/tcp_var.h
851
struct tcpcb *
sys/netinet/tcp_var.h
852
tcp_usrclosed(struct tcpcb *);
sys/netinet/tcp_var.h
854
void tcp_xmit_timer(struct tcpcb *, uint32_t);
sys/netinet/tcp_var.h
855
tcp_seq tcp_new_iss(struct tcpcb *);
sys/netinet/tcp_var.h
859
void tcp_new_dsack(struct tcpcb *, tcp_seq, u_int32_t);
sys/netinet/tcp_var.h
860
void tcp_sack_option(struct tcpcb *, const struct tcphdr *,
sys/netinet/tcp_var.h
862
void tcp_del_sackholes(struct tcpcb *, const struct tcphdr *);
sys/netinet/tcp_var.h
863
void tcp_free_sackholes(struct tcpcb *);
sys/netinet/tcp_var.h
864
void tcp_sack_adjust(struct tcpcb *tp);
sys/netinet/tcp_var.h
865
struct sackhole *tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt);
sys/netinet/tcp_var.h
866
int tcp_sack_numblks(const struct tcpcb *);
sys/netinet/tcp_var.h
875
int tcp_dooptions(struct tcpcb *, const u_char *, int,
sys/netinet/tcp_vtw.c
1877
vtw_add(int af, struct tcpcb *tp)
sys/netinet/tcp_vtw.h
358
struct tcpcb;
sys/netinet/tcp_vtw.h
361
int vtw_add(int, struct tcpcb *);
sys/netipsec/ipsec.h
300
struct tcpcb;
sys/netipsec/ipsec.h
305
size_t ipsec4_hdrsiz_tcp(struct tcpcb *);
sys/netipsec/ipsec6.h
54
size_t ipsec6_hdrsiz_tcp(struct tcpcb *);
usr.bin/netstat/inet.c
1049
struct tcpcb tcpcb;
usr.bin/netstat/inet.c
1067
kread(pcbaddr, (char *)&tcpcb, sizeof(tcpcb));
usr.bin/netstat/inet.c
1075
ci = (callout_impl_t *)&tcpcb.t_timer[i];
usr.bin/netstat/inet.c
1085
if (tcpcb.t_state < 0 || tcpcb.t_state >= TCP_NSTATES)
usr.bin/netstat/inet.c
1086
printf("State: %d", tcpcb.t_state);
usr.bin/netstat/inet.c
1088
printf("State: %s", tcpstates[tcpcb.t_state]);
usr.bin/netstat/inet.c
1089
printf(", flags 0x%x, inpcb 0x%lx\n\n", tcpcb.t_flags,
usr.bin/netstat/inet.c
1090
(u_long)tcpcb.t_inpcb);
usr.bin/netstat/inet.c
1092
printf("rxtshift %d, rxtcur %d, dupacks %d\n", tcpcb.t_rxtshift,
usr.bin/netstat/inet.c
1093
tcpcb.t_rxtcur, tcpcb.t_dupacks);
usr.bin/netstat/inet.c
1095
tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen);
usr.bin/netstat/inet.c
1098
tcpcb.snd_una, tcpcb.snd_nxt, tcpcb.snd_up);
usr.bin/netstat/inet.c
1100
tcpcb.snd_wl1, tcpcb.snd_wl2, tcpcb.iss, tcpcb.snd_wnd);
usr.bin/netstat/inet.c
1103
tcpcb.rcv_wnd, tcpcb.rcv_nxt, tcpcb.rcv_up, tcpcb.irs);
usr.bin/netstat/inet.c
1106
tcpcb.rcv_adv, tcpcb.snd_max, tcpcb.snd_cwnd, tcpcb.snd_ssthresh);
usr.bin/netstat/inet.c
1109
"rttmin %d, max_sndwnd %lu\n\n", tcpcb.t_rcvtime, tcpcb.t_rtttime,
usr.bin/netstat/inet.c
1110
tcpcb.t_rtseq, tcpcb.t_srtt, tcpcb.t_rttvar, tcpcb.t_rttmin,
usr.bin/netstat/inet.c
1111
tcpcb.max_sndwnd);
usr.bin/netstat/inet.c
1113
printf("oobflags %d, iobc %d, softerror %d\n\n", tcpcb.t_oobflags,
usr.bin/netstat/inet.c
1114
tcpcb.t_iobc, tcpcb.t_softerror);
usr.bin/netstat/inet.c
1117
tcpcb.snd_scale, tcpcb.rcv_scale, tcpcb.request_r_scale,
usr.bin/netstat/inet.c
1118
tcpcb.requested_s_scale);
usr.bin/netstat/inet.c
1120
tcpcb.ts_recent, tcpcb.ts_recent_age, tcpcb.last_ack_sent);
usr.bin/netstat/inet.c
281
struct tcpcb tcpcb;
usr.bin/netstat/inet.c
316
(char *)&tcpcb, sizeof (tcpcb));
usr.bin/netstat/inet.c
329
pcblist[i].ki_tstate = tcpcb.t_state;
usr.bin/netstat/inet6.c
108
#define tcp6cb tcpcb
usr.bin/netstat/inet6.c
148
struct tcpcb tcpcb;
usr.bin/netstat/inet6.c
1496
#define mypcb tcpcb
usr.bin/netstat/inet6.c
1520
ci = (callout_impl_t *)&tcpcb.t_timer[i];
usr.bin/netstat/inet6.c
1544
tcpcb.t_peermss, tcpcb.t_ourmss, tcpcb.t_segsz, tcpcb.t_segqlen);
usr.bin/netstat/inet6.c
1564
printf("rcvtime %u, rtttime %u, ", tcpcb.t_rcvtime, tcpcb.t_rtttime);
usr.bin/netstat/inet6.c
329
(char *)&tcpcb, sizeof (tcpcb));
usr.bin/netstat/inet6.c
342
pcblist[i].ki_tstate = tcpcb.t_state;
usr.bin/systat/netstat.c
221
struct tcpcb tcpcb;
usr.bin/systat/netstat.c
249
KREAD(inp->inp_ppcb, &tcpcb, sizeof (tcpcb));
usr.bin/systat/netstat.c
250
enter(inp, &sockb, tcpcb.t_state, "tcp");
usr.bin/systat/netstat.c
264
struct tcpcb tcpcb;
usr.bin/systat/netstat.c
294
KREAD(inp->inp_ppcb, &tcpcb, sizeof (tcpcb));
usr.bin/systat/netstat.c
295
enter6(inp, &sockb, tcpcb.t_state, "tcp");
usr.sbin/trpt/trpt.c
144
static void tcp_trace(short, short, struct tcpcb *, struct tcpcb *,
usr.sbin/trpt/trpt.c
279
dotrace(caddr_t tcpcb)
usr.sbin/trpt/trpt.c
290
if (tcpcb && td->td_tcb != tcpcb)
usr.sbin/trpt/trpt.c
296
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
302
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
308
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
317
if (tcpcb && td->td_tcb != tcpcb)
usr.sbin/trpt/trpt.c
323
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
329
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
335
(struct tcpcb *)td->td_tcb, &td->td_cb,
usr.sbin/trpt/trpt.c
382
tcp_trace(short act, short ostate, struct tcpcb *atp, struct tcpcb *tp,