/openbsd-src/sys/netinet/ |
H A D | tcp_var.h | 70 struct tcpcb { struct 210 #define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb) argument 679 extern struct inpcbtable tcbtable, tcb6table; /* queue of active tcpcb's */ 704 void tcp_canceltimers(struct tcpcb *); 705 struct tcpcb * 706 tcp_close(struct tcpcb *); 707 int tcp_freeq(struct tcpcb *); 713 struct tcpcb * 714 tcp_dodisconnect(struct tcpcb *); 715 struct tcpcb * 71 t_segqtcpcb global() argument 72 t_timertcpcb global() argument 73 t_statetcpcb global() argument 74 t_rxtshifttcpcb global() argument 75 t_rxtcurtcpcb global() argument 76 t_dupackstcpcb global() argument 77 t_maxsegtcpcb global() argument 78 t_forcetcpcb global() argument 79 t_flagstcpcb global() argument 109 t_templatetcpcb global() argument 110 t_inpcbtcpcb global() argument 116 snd_unatcpcb global() argument 117 snd_nxttcpcb global() argument 118 snd_uptcpcb global() argument 119 snd_wl1tcpcb global() argument 120 snd_wl2tcpcb global() argument 121 isstcpcb global() argument 122 snd_wndtcpcb global() argument 123 sack_enabletcpcb global() argument 124 snd_numholestcpcb global() argument 125 snd_holestcpcb global() argument 126 snd_lasttcpcb global() argument 128 rcv_wndtcpcb global() argument 129 rcv_nxttcpcb global() argument 130 rcv_uptcpcb global() argument 131 irstcpcb global() argument 132 rcv_lastsacktcpcb global() argument 133 rcv_numsackstcpcb global() argument 134 sackblkstcpcb global() argument 140 rcv_advtcpcb global() argument 142 snd_maxtcpcb global() argument 146 snd_cwndtcpcb global() argument 147 snd_ssthreshtcpcb global() argument 153 rfbuf_tstcpcb global() argument 154 rfbuf_cnttcpcb global() argument 156 t_maxopdtcpcb global() argument 157 t_peermsstcpcb global() argument 163 t_rcvtimetcpcb global() argument 164 t_rcvacktimetcpcb global() argument 165 t_sndtimetcpcb global() argument 166 t_sndacktimetcpcb global() argument 167 t_rtttimetcpcb global() argument 168 t_rtseqtcpcb global() argument 169 t_srtttcpcb global() argument 170 t_rttvartcpcb global() argument 171 t_rttmintcpcb global() argument 172 max_sndwndtcpcb global() argument 175 t_oobflagstcpcb global() argument 176 t_iobctcpcb global() argument 179 t_softerrortcpcb global() argument 182 snd_scaletcpcb global() argument 183 rcv_scaletcpcb global() argument 184 request_r_scaletcpcb global() argument 185 requested_s_scaletcpcb global() argument 186 ts_recenttcpcb global() argument [all...] |
H A D | tcp_usrreq.c | 189 int tcp_fill_info(struct tcpcb *, struct socket *, struct mbuf *); in tcp_sogetpcb() 193 struct tcpcb **); in tcp_sogetpcb() 196 tcp_sogetpcb(struct socket *so, struct inpcb **rinp, struct tcpcb **rtp) in tcp_sogetpcb() 199 struct tcpcb *tp; in tcp_sogetpcb() 204 * structure will point at a subsidiary (struct tcpcb). in tcp_sogetpcb() 226 tcp_fill_info(struct tcpcb *tp, struct socket *so, struct mbuf *m) in tcp_fill_info() 329 struct tcpcb *tp; in tcp_ctloutput() 476 struct tcpcb *tp; in tcp_attach() 529 struct tcpcb *otp = NULL, *tp; in tcp_detach() 564 struct tcpcb *t in tcp_bind() [all...] |
H A D | tcp_timer.c | 88 tcp_timer_enter(struct inpcb *inp, struct socket **so, struct tcpcb **tp, 125 struct tcpcb *otp = NULL, *tp; in tcp_timer_delack() 165 tcp_canceltimers(struct tcpcb *tp) in tcp_canceltimers() 182 void tcp_timer_freesack(struct tcpcb *); in tcp_timer_freesack() 185 tcp_timer_freesack(struct tcpcb *tp) in tcp_timer_freesack() 205 struct tcpcb *otp = NULL, *tp; in tcp_timer_rexmt() 400 struct tcpcb *otp = NULL, *tp; in tcp_timer_persist() 449 struct tcpcb *otp = NULL, *tp; in tcp_timer_keep() 509 struct tcpcb *otp = NULL, *tp; 539 struct tcpcb *t in tcp_timer_2msl() [all...] |
H A D | tcp_subr.c | 153 pool_init(&tcpcb_pool, sizeof(struct tcpcb), 0, IPL_SOFTNET, 0, in tcp_init() 154 "tcpcb", NULL); in tcp_init() 201 tcp_template(struct tcpcb *tp) 296 tcp_respond(struct tcpcb *tp, caddr_t template, struct tcphdr *th0, 426 struct tcpcb * 429 struct tcpcb *tp; 486 struct tcpcb * 487 tcp_drop(struct tcpcb *tp, int errno) in tcp_drop() 509 struct tcpcb * 510 tcp_close(struct tcpcb *t [all...] |
H A D | tcp_debug.c | 124 tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpcb *otp, in tcp_trace()
|
H A D | tcp_input.c | 104 int tcp_flush_queue(struct tcpcb *); 180 void tcp_sack_partialack(struct tcpcb *, struct tcphdr *); 181 void tcp_newreno_partialack(struct tcpcb *, struct tcphdr *); 187 void syn_cache_insert(struct syn_cache *, struct tcpcb *); 211 tcp_reass(struct tcpcb *tp, struct tcphdr *th, struct mbuf *m, int *tlen) 310 tcp_flush_queue(struct tcpcb *tp) 364 struct tcpcb *otp = NULL, *tp = NULL; in tcp_input() 2149 tcp_dooptions(struct tcpcb *tp, u_char *cp, int cnt, struct tcphdr *th, in tcp_dooptions() 2338 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_laststart, in tcp_update_sack_list() 2433 tcp_sack_option(struct tcpcb *t in tcp_sack_option() [all...] |
H A D | tcp_debug.h | 88 struct tcpcb td_cb;
|
H A D | tcp_output.c | 107 void tcp_print_holes(struct tcpcb *tp); 110 tcp_print_holes(struct tcpcb *tp) 130 tcp_sack_output(struct tcpcb *tp) 161 tcp_sack_adjust(struct tcpcb *tp) 193 tcp_output(struct tcpcb *tp) 1182 tcp_setpersist(struct tcpcb *tp) in tcp_setpersist()
|
/openbsd-src/usr.sbin/trpt/ |
H A D | trpt.c | 119 void tcp_trace(short, short, struct tcpcb *, struct tcpiphdr *, 252 dotrace(caddr_t tcpcb) in dotrace() argument 263 if (tcpcb && td->td_tcb != tcpcb) in dotrace() 274 if (tcpcb && td->td_tcb != tcpcb) in dotrace() 306 tcp_trace(short act, short ostate, struct tcpcb *tp, in tcp_trace()
|
/openbsd-src/lib/libkvm/ |
H A D | kvm_file2.c | 603 struct tcpcb tcpcb; in fill_file() local 604 if (KREAD(kd, (u_long)inpcb.inp_ppcb, &tcpcb)) { in fill_file() 609 kf->t_rcv_wnd = tcpcb.rcv_wnd; in fill_file() 610 kf->t_snd_wnd = tcpcb.snd_wnd; in fill_file() 611 kf->t_snd_cwnd = tcpcb.snd_cwnd; in fill_file() 612 kf->t_state = tcpcb.t_state; in fill_file() 639 struct tcpcb tcpcb; in fill_file() local 640 if (KREAD(kd, (u_long)inpcb.inp_ppcb, &tcpcb)) { in fill_file() 645 kf->t_rcv_wnd = tcpcb.rcv_wnd; in fill_file() 646 kf->t_snd_wnd = tcpcb.snd_wnd; in fill_file() [all …]
|
/openbsd-src/usr.bin/netstat/ |
H A D | inet.c | 88 struct tcpcb tcpcb; variable 167 * to the so_pcb or for tcp sockets the tcpcb in protopr() 1513 struct tcpcb tcpcb; 1517 kread(off, (char *)&tcpcb, sizeof (tcpcb)); in tcpcb_dump() 1519 #define p(fmt, v, sep) printf(#v " " fmt sep, tcpcb.v); in tcpcb_dump() 1520 #define pp(fmt, v, sep) printf(#v " " fmt sep, tcpcb.v); in tcpcb_dump() 1521 printf("tcpcb in tcpcb_dump() 1518 struct tcpcb tcpcb; tcpcb_dump() local [all...] |
/openbsd-src/sys/kern/ |
H A D | kern_sysctl.c | 1544 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; in sysctl_file() 1545 kf->t_rcv_wnd = tcpcb->rcv_wnd; in sysctl_file() 1546 kf->t_snd_wnd = tcpcb->snd_wnd; in sysctl_file() 1547 kf->t_snd_cwnd = tcpcb->snd_cwnd; in sysctl_file() 1548 kf->t_state = tcpcb->t_state; in sysctl_file() 1572 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; in sysctl_file() 1573 kf->t_rcv_wnd = tcpcb->rcv_wnd; in sysctl_file() 1574 kf->t_snd_wnd = tcpcb in sysctl_file() 1347 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; fill_file() local 1375 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; fill_file() local [all...] |