| /openbsd/src/sys/netinet/ |
| D | tcp_var.h | 70 struct tcpcb { struct 210 #define intotcpcb(ip) ((struct tcpcb *)(ip)->inp_ppcb) argument 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 * 716 tcp_drop(struct tcpcb *, int); [all …]
|
| D | tcp_timer.c | 88 tcp_timer_enter(struct inpcb *inp, struct socket **so, struct tcpcb **tp, in tcp_timer_enter() 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 *); 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; in tcp_timer_2msl() 539 struct tcpcb *tp = arg; in tcp_timer_reaper()
|
| D | tcp_usrreq.c | 189 int tcp_fill_info(struct tcpcb *, struct socket *, struct mbuf *); 193 struct tcpcb **); 196 tcp_sogetpcb(struct socket *so, struct inpcb **rinp, struct tcpcb **rtp) in tcp_sogetpcb() 199 struct tcpcb *tp; 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() 528 struct tcpcb *otp = NULL, *tp; in tcp_detach() 563 struct tcpcb *tp; in tcp_bind() 589 struct tcpcb *tp, *otp = NULL; in tcp_listen() [all …]
|
| D | tcp_subr.c | 153 pool_init(&tcpcb_pool, sizeof(struct tcpcb), 0, IPL_SOFTNET, 0, in tcp_init() 201 tcp_template(struct tcpcb *tp) in tcp_template() 296 tcp_respond(struct tcpcb *tp, caddr_t template, struct tcphdr *th0, in tcp_respond() 426 struct tcpcb * 429 struct tcpcb *tp; in tcp_newtcpcb() 486 struct tcpcb * 487 tcp_drop(struct tcpcb *tp, int errno) in tcp_drop() 509 struct tcpcb * 510 tcp_close(struct tcpcb *tp) in tcp_close() 541 tcp_freeq(struct tcpcb *tp) in tcp_freeq() [all …]
|
| D | tcp_debug.c | 124 tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpcb *otp, in tcp_trace()
|
| 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) in tcp_reass() 310 tcp_flush_queue(struct tcpcb *tp) in tcp_flush_queue() 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 *tp, struct tcphdr *th, u_char *cp, int optlen) in tcp_sack_option() [all …]
|
| D | tcp_output.c | 107 void tcp_print_holes(struct tcpcb *tp); 110 tcp_print_holes(struct tcpcb *tp) in tcp_print_holes() 130 tcp_sack_output(struct tcpcb *tp) in tcp_sack_output() 161 tcp_sack_adjust(struct tcpcb *tp) in tcp_sack_adjust() 193 tcp_output(struct tcpcb *tp) in tcp_output() 1182 tcp_setpersist(struct tcpcb *tp) in tcp_setpersist()
|
| D | tcp_debug.h | 88 struct tcpcb td_cb;
|
| /openbsd/src/usr.sbin/trpt/ |
| 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/ |
| 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/ |
| D | inet.c | 88 struct tcpcb tcpcb; variable 1513 struct tcpcb tcpcb; in tcpcb_dump() local 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() 1524 if (tcpcb.t_state >= 0 && tcpcb.t_state < TCP_NSTATES) in tcpcb_dump() 1525 printf(" (%s)", tcpstates[tcpcb.t_state]); in tcpcb_dump() 1572 HTONS(tcpcb.t_pmtud_ip_len); in tcpcb_dump() 1573 HTONS(tcpcb.t_pmtud_nextmtu); in tcpcb_dump()
|
| /openbsd/src/sys/kern/ |
| D | kern_sysctl.c | 1544 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; in fill_file() local 1545 kf->t_rcv_wnd = tcpcb->rcv_wnd; in fill_file() 1546 kf->t_snd_wnd = tcpcb->snd_wnd; in fill_file() 1547 kf->t_snd_cwnd = tcpcb->snd_cwnd; in fill_file() 1548 kf->t_state = tcpcb->t_state; in fill_file() 1572 struct tcpcb *tcpcb = (void *)inpcb->inp_ppcb; in fill_file() local 1573 kf->t_rcv_wnd = tcpcb->rcv_wnd; in fill_file() 1574 kf->t_snd_wnd = tcpcb->snd_wnd; in fill_file() 1575 kf->t_state = tcpcb->t_state; in fill_file()
|