From c1dbd5b37790b10eff4f18af33308b8a0b1caa8b Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 9 Nov 1995 20:23:09 +0000 Subject: Start adding new style sysctl here too. --- sys/netinet/tcp_timewait.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sys/netinet/tcp_timewait.c') diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index b0b75b8..591fb40 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -31,12 +31,14 @@ * SUCH DAMAGE. * * @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_subr.c,v 1.19 1995/10/12 17:37:24 wollman Exp $ + * $Id: tcp_subr.c,v 1.20 1995/10/16 18:21:20 wollman Exp $ */ #include #include #include +#include +#include #include #include #include @@ -67,9 +69,17 @@ /* patchable/settable parameters for tcp */ int tcp_mssdflt = TCP_MSS; +SYSCTL_INT(_net_inet_tcp, TCPCTL_MSSDFLT, mssdflt, + CTLFLAG_RW, &tcp_mssdflt , 0, ""); int tcp_rttdflt = TCPTV_SRTTDFLT / PR_SLOWHZ; +SYSCTL_INT(_net_inet_tcp, TCPCTL_RTTDFLT, rttdflt, + CTLFLAG_RW, &tcp_rttdflt , 0, ""); int tcp_do_rfc1323 = 1; +SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1323, rfc1323, + CTLFLAG_RW, &tcp_do_rfc1323 , 0, ""); int tcp_do_rfc1644 = 1; +SYSCTL_INT(_net_inet_tcp, TCPCTL_DO_RFC1644, rfc1644, + CTLFLAG_RW, &tcp_do_rfc1644 , 0, ""); static void tcp_cleartaocache(void); /* -- cgit v1.1