/src/sys/netinet/ |
tcp_vtw.c | 32 * methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime 35 * MSLT and VTW were contributed by Coyote Point Systems, Inc. 54 * Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket 56 * "vestigial PCB". VTW data structures are designed to be very fast and 64 * runs out, VTW makes room by discarding old vestigial PCBs, oldest first. 65 * VTW cooperates with MSLT. 67 * It may help to think of VTW as a "FIN cache" by analogy to the SYN 71 * sessions as fast as it can is approximately 17% idle when VTW is active 72 * versus 0% idle when VTW is inactive. It has 103 megabytes more free RAM 73 * when VTW is active (approximately 64k vestigial PCBs are created) tha 470 vtw_v4_t *vtw = ctl->base.v4 + idx; local in function:vtw_from_index 475 vtw_v6_t *vtw = ctl->base.v6 + idx; local in function:vtw_from_index 778 vtw_t *vtw; local in function:vtw_lookup_hash_v4 931 vtw_t *vtw; local in function:vtw_lookup_hash_v6 1029 vtw_t *vtw; local in function:vtw_next_port_v4 1143 vtw_t *vtw; local in function:vtw_next_port_v6 1378 vtw_t *vtw = 0; local in function:vtw_alloc 1487 vtw_t *vtw; local in function:vtw_age 1640 vtw_t *vtw = 0; local in function:tcp_next_port_v4 1656 vtw_t *vtw; local in function:tcp_lookup_v4 1740 vtw_t *vtw = 0; local in function:tcp_next_port_v6 1757 vtw_t *vtw; local in function:tcp_lookup_v6 1883 vtw_t *vtw; local in function:vtw_add 2060 vtw_t *vtw; local in function:vtw_restart_v4 2108 vtw_t *vtw; local in function:vtw_restart_v6 2230 vtw_t *vtw; local in function:vtw_debug_add 2376 vtw_t *vtw; local in function:vtw_sanity_check [all...] |
tcp_vtw.h | 202 /*!\brief common to all vtw 271 vtw_ctl_t *vtw; /* associated VTWs */ member in struct:fatp_ctl 389 struct vtw_common *vtw; member in struct:vestigial_inpcb
|
tcp_input.c | 1116 vtw_del(vp->ctl, vp->vtw); 1473 /* We do not support the resurrection of vtw tcpcps. */
|
/src/usr.bin/netstat/ |
Makefile | 16 unix.c vtw.c rtutil.c
|
inet.c | 93 #include "vtw.h" 110 /* VTW-related variables. */ 190 print_vtw_v4(const vtw_t *vtw) 192 const vtw_v4_t *v4 = (const vtw_v4_t *)vtw; 204 timersub(&vtw->expire, &now, &delta); 206 if (vtw->expire.tv_sec == 0 && vtw->expire.tv_usec == -1) { 212 } else if (vtw->expire.tv_sec == 0) 228 TCPS_TIME_WAIT, "tcp", 0, &vtw->expire);
|
inet6.c | 139 #include "vtw.h" 164 /* VTW-related variables. */ 247 print_vtw_v6(const vtw_t *vtw) 249 const vtw_v6_t *v6 = (const vtw_v6_t *)vtw; 257 timersub(&vtw->expire, &now, &delta); 259 if (vtw->expire.tv_sec == 0 && vtw->expire.tv_usec == -1) { 265 } else if (vtw->expire.tv_sec == 0) 281 TCPS_TIME_WAIT, "tcp6", &vtw->expire);
|
vtw.c | 1 /* $NetBSD: vtw.c,v 1.13 2022/09/01 10:10:20 msaitoh Exp $ */ 65 __RCSID("$NetBSD: vtw.c,v 1.13 2022/09/01 10:10:20 msaitoh Exp $"); 115 #include "vtw.h" 131 if (prog_sysctlbyname("net.inet.tcp.vtw.enable", 342 fat_tcpv4.vtw = &vtw_tcpv4[0]; 365 printf("total memory for VTW in current config: " 448 fat_tcpv6.vtw = &vtw_tcpv6[0]; 471 printf("total memory for VTW in current config: "
|