summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_proto.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-12-20 21:53:53 +0000
committerwollman <wollman@FreeBSD.org>1995-12-20 21:53:53 +0000
commit3bc72fd2150906e2400079d7a0a69c55eb69bc64 (patch)
tree9608e4a13c02893d6405aad4abe15ae32a37101a /sys/netinet/in_proto.c
parent19914706e411f628cfd36b7f46094cb62d6b815e (diff)
downloadFreeBSD-src-3bc72fd2150906e2400079d7a0a69c55eb69bc64.zip
FreeBSD-src-3bc72fd2150906e2400079d7a0a69c55eb69bc64.tar.gz
in_proto.c: spell ``Internet'' right and put whitespace after commas.
others: start to populate the link-layer branch of the net mib, by moving ARP to its proper place. (ARP is not a protocol family, it's an interface layer between a medium-access layer and a protocol family.) sysctl(8) needs to be taught about the structure of this branch, unless Poul-Henning implements dynamic MIB exploration soon.
Diffstat (limited to 'sys/netinet/in_proto.c')
-rw-r--r--sys/netinet/in_proto.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index 802b580..8826fa7 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in_proto.c 8.2 (Berkeley) 2/9/95
- * $Id: in_proto.c,v 1.22 1995/11/20 12:28:16 phk Exp $
+ * $Id: in_proto.c,v 1.23 1995/12/02 19:37:53 bde Exp $
*/
#include <sys/param.h>
@@ -182,13 +182,14 @@ struct domain inetdomain =
DOMAIN_SET(inet);
-SYSCTL_NODE(_net,PF_INET, inet,CTLFLAG_RW,0, "InterNet Protocols");
+SYSCTL_NODE(_net, PF_INET, inet, CTLFLAG_RW, 0,
+ "Internet Family");
-SYSCTL_NODE(_net_inet,IPPROTO_IP, ip, CTLFLAG_RW,0, "IP");
-SYSCTL_NODE(_net_inet,IPPROTO_ICMP,icmp,CTLFLAG_RW,0, "ICMP");
-SYSCTL_NODE(_net_inet,IPPROTO_UDP, udp, CTLFLAG_RW,0, "UDP");
-SYSCTL_NODE(_net_inet,IPPROTO_TCP, tcp, CTLFLAG_RW,0, "TCP");
-SYSCTL_NODE(_net_inet,IPPROTO_IGMP,igmp,CTLFLAG_RW,0, "IGMP");
+SYSCTL_NODE(_net_inet, IPPROTO_IP, ip, CTLFLAG_RW, 0, "IP");
+SYSCTL_NODE(_net_inet, IPPROTO_ICMP, icmp, CTLFLAG_RW, 0, "ICMP");
+SYSCTL_NODE(_net_inet, IPPROTO_UDP, udp, CTLFLAG_RW, 0, "UDP");
+SYSCTL_NODE(_net_inet, IPPROTO_TCP, tcp, CTLFLAG_RW, 0, "TCP");
+SYSCTL_NODE(_net_inet, IPPROTO_IGMP, igmp, CTLFLAG_RW, 0, "IGMP");
#include "imp.h"
#if NIMP > 0
OpenPOWER on IntegriCloud