diff options
| author | Marko Zec <zec@FreeBSD.org> | 2008-11-19 09:39:34 +0000 | 
|---|---|---|
| committer | Marko Zec <zec@FreeBSD.org> | 2008-11-19 09:39:34 +0000 | 
| commit | 44e33a075818146eb289c39c3ca2817f54517c9f (patch) | |
| tree | 3d398563f1e14b804a0558dd3dda1de9a42b9970 /sys/netinet/tcp_output.c | |
| parent | 6f0e1ffd076c821819632e0371db2f38434ad02c (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -rw-r--r-- | sys/netinet/tcp_output.c | 19 | 
1 files changed, 11 insertions, 8 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index b3a010bffe2b5..ab92905a1c290 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -87,39 +87,42 @@ __FBSDID("$FreeBSD$");  extern struct mbuf *m_copypack();  #endif -int path_mtu_discovery = 1; +#ifdef VIMAGE_GLOBALS +int path_mtu_discovery; +int ss_fltsz; +int ss_fltsz_local; +int tcp_do_newreno; +int tcp_do_tso; +int tcp_do_autosndbuf; +int tcp_autosndbuf_inc; +int tcp_autosndbuf_max; +#endif +  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, path_mtu_discovery,  	CTLFLAG_RW, path_mtu_discovery, 1, "Enable Path MTU Discovery"); -int ss_fltsz = 1;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO,  	slowstart_flightsize, CTLFLAG_RW,  	ss_fltsz, 1, "Slow start flight size"); -int ss_fltsz_local = 4;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO,  	local_slowstart_flightsize, CTLFLAG_RW,  	ss_fltsz_local, 1, "Slow start flight size for local networks"); -int     tcp_do_newreno = 1;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, newreno, CTLFLAG_RW,  	tcp_do_newreno, 0, "Enable NewReno Algorithms"); -int	tcp_do_tso = 1;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, tso, CTLFLAG_RW,  	tcp_do_tso, 0, "Enable TCP Segmentation Offload"); -int	tcp_do_autosndbuf = 1;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, sendbuf_auto,  	CTLFLAG_RW,  	tcp_do_autosndbuf, 0, "Enable automatic send buffer sizing"); -int	tcp_autosndbuf_inc = 8*1024;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, sendbuf_inc,  	CTLFLAG_RW, tcp_autosndbuf_inc, 0,  	"Incrementor step size of automatic send buffer"); -int	tcp_autosndbuf_max = 256*1024;  SYSCTL_V_INT(V_NET, vnet_inet, _net_inet_tcp, OID_AUTO, sendbuf_max,  	CTLFLAG_RW, tcp_autosndbuf_max, 0,  	"Max size of automatic send buffer");  | 
