Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Jonathan Stone <jonathan@netbsd.org>
List: source-changes
Date: 11/10/2003 20:03:29
Module Name: src
Committed By: jonathan
Date: Mon Nov 10 20:03:29 UTC 2003
Modified Files:
src/sbin/sysctl: sysctl.c
src/sys/net: if.c if.h
src/sys/netinet: ip_input.c
Log Message:
Make per-protocol network input queue stats visible to userland via
sysctl. Add a protocol-independent sysctl handler to show the per-protocol
"struct ifq' statistics. Add IP(v4) specific call to the handler.
Other protocols can show their per-protocol input statistics by
allocating a sysclt node and calling sysctl_ifq() with their own struct ifq *.
As posted to tech-kern plus improvements/cleanup suggested by Andrew Brown.
To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 src/sbin/sysctl/sysctl.c
cvs rdiff -r1.132 -r1.133 src/sys/net/if.c
cvs rdiff -r1.92 -r1.93 src/sys/net/if.h
cvs rdiff -r1.179 -r1.180 src/sys/netinet/ip_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.