Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2000 04:42:44 -0400 (EDT)
From:      Omachonu Ogali <oogali@intranova.net>
To:        freebsd-current@freebsd.org
Subject:   Sysctl
Message-ID:  <Pine.BSF.4.10.10004040440530.85112-100000@hydrant.intranova.net>

next in thread | raw e-mail | index | archive | help
I don't know whether to hand this to -doc or here, so I'll take the risk
of here, patch simply adds comments to sysctl variables. Started work on
netinet, hopefully I'll have more later on in the day. (It's 4:40am right
now).

-- snip --

--- if_ether.c.orig	Tue Apr  4 04:14:02 2000
+++ if_ether.c	Tue Apr  4 04:18:55 2000
@@ -72,3 +72,3 @@
 SYSCTL_DECL(_net_link_ether);
-SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, "");
+SYSCTL_NODE(_net_link_ether, PF_INET, inet, CTLFLAG_RW, 0, "Ethernet Link Level");
 
@@ -80,7 +80,7 @@
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, prune_intvl, CTLFLAG_RW,
-	   &arpt_prune, 0, "");
+	   &arpt_prune, 0, "Seconds before ARP cache is cleaned.");
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, max_age, CTLFLAG_RW, 
-	   &arpt_keep, 0, "");
+	   &arpt_keep, 0, "Seconds a resolved ARP entry is valid.");
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, host_down_time, CTLFLAG_RW,
-	   &arpt_down, 0, "");
+	   &arpt_down, 0, "Seconds an unresolved ARP entry is valid.");
 
@@ -106,7 +106,7 @@
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, maxtries, CTLFLAG_RW,
-	   &arp_maxtries, 0, "");
+	   &arp_maxtries, 0, "Maximum ARP requests generated for one destination.");
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, useloopback, CTLFLAG_RW,
-	   &useloopback, 0, "");
+	   &useloopback, 0, "Use loopback interface for local traffic.");
 SYSCTL_INT(_net_link_ether_inet, OID_AUTO, proxyall, CTLFLAG_RW,
-	   &arp_proxyall, 0, "");
+	   &arp_proxyall, 0, "Enable ARP Proxying.");
 
--- in_gif.c.orig	Tue Apr  4 04:24:36 2000
+++ in_gif.c	Tue Apr  4 04:25:00 2000
@@ -84,3 +84,3 @@
 SYSCTL_INT(_net_inet_ip, IPCTL_GIF_TTL, gifttl, CTLFLAG_RW,
-	&ip_gif_ttl,	0, "");
+	&ip_gif_ttl,	0, "GIF tunnel default time-to-live setting.");
 
--- ip_icmp.c.orig	Tue Apr  4 03:59:05 2000
+++ ip_icmp.c	Tue Apr  4 04:26:16 2000
@@ -81,3 +81,3 @@
 SYSCTL_INT(_net_inet_icmp, ICMPCTL_MASKREPL, maskrepl, CTLFLAG_RW,
-	&icmpmaskrepl, 0, "");
+	&icmpmaskrepl, 0, "Allow transmission of ICMP mask replies.");
 
@@ -85,3 +85,3 @@
 SYSCTL_INT(_net_inet_icmp, OID_AUTO, drop_redirect, CTLFLAG_RW, 
-	&drop_redirect, 0, "");
+	&drop_redirect, 0, "Discard all received ICMP redirects.");
 
@@ -89,3 +89,3 @@
 SYSCTL_INT(_net_inet_icmp, OID_AUTO, log_redirect, CTLFLAG_RW, 
-	&log_redirect, 0, "");
+	&log_redirect, 0, "Log all received ICMP redirects");
 
@@ -100,3 +100,3 @@
 SYSCTL_INT(_net_inet_icmp, ICMPCTL_ICMPLIM, icmplim, CTLFLAG_RW,
-	&icmplim, 0, "");
+	&icmplim, 0, "ICMP error responses allowed per second.");
 #else
@@ -105,3 +105,3 @@
 SYSCTL_INT(_net_inet_icmp, ICMPCTL_ICMPLIM, icmplim, CTLFLAG_RD,
-	&icmplim, 0, "");
+	&icmplim, 0, "ICMP error responses allowed per second.");
 	
@@ -115,3 +115,3 @@
 SYSCTL_INT(_net_inet_icmp, OID_AUTO, bmcastecho, CTLFLAG_RW,
-	&icmpbmcastecho, 0, "");
+	&icmpbmcastecho, 0, "Reply to ICMP echoes sent to broadcast addresses.");
 
--- in.c.orig	Tue Apr  4 04:21:07 2000
+++ in.c	Tue Apr  4 04:21:29 2000
@@ -72,3 +72,3 @@
 SYSCTL_INT(_net_inet_ip, OID_AUTO, subnets_are_local, CTLFLAG_RW, 
-	&subnetsarelocal, 0, "");
+	&subnetsarelocal, 0, "All subnets of the local network are considered local.");
 
--- ip_input.c.orig	Tue Apr  4 04:28:23 2000
+++ ip_input.c	Tue Apr  4 04:28:52 2000
@@ -169,3 +169,3 @@
 SYSCTL_INT(_net_inet_ip, OID_AUTO, stealth, CTLFLAG_RW,
-    &ipstealth, 0, "");
+    &ipstealth, 0, "Allow forwarding of packets without TTL modification.");
 #endif

--- udp_usrreq.c.orig	Tue Apr  4 04:31:24 2000
+++ udp_usrreq.c	Tue Apr  4 04:32:24 2000
@@ -91,3 +91,3 @@
 SYSCTL_INT(_net_inet_udp, UDPCTL_CHECKSUM, checksum, CTLFLAG_RW,
-		&udpcksum, 0, "");
+		&udpcksum, 0, "Send UDP checksums.");
 
-- snip --

-- 
+-------------------------------------------------------------------------+
| Omachonu Ogali                                     oogali@intranova.net |
| Intranova Networking Group                 http://tribune.intranova.net |
| PGP Key ID:                                                  0xBFE60839 |
| PGP Fingerprint:       C8 51 14 FD 2A 87 53 D1  E3 AA 12 12 01 93 BD 34 |
+-------------------------------------------------------------------------+



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004040440530.85112-100000>