From owner-cvs-sys Tue Jul 30 12:17:17 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA29583 for cvs-sys-outgoing; Tue, 30 Jul 1996 12:17:17 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA29566; Tue, 30 Jul 1996 12:17:08 -0700 (PDT) Date: Tue, 30 Jul 1996 12:17:08 -0700 (PDT) From: Garrett Wollman Message-Id: <199607301917.MAA29566@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if_mib.c if_mib.h if.c if.h src/sys/conf files Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/07/30 12:17:08 Modified: sys/net if.c if.h sys/conf files Added: sys/net if_mib.c if_mib.h Log: Add better support for retrieving management information from network interfaces. This creates two new tables in the net.link.generic branch of the MIB; one contains (essentially) `ifdata' structures, and the other contains a blob provided by the interface (and presumably used to implement link-layer-specific MIB variables). A number of things have been moved around in the `ifnet' and `ifdata' structures, so NEW VERSIONS OF ifconfig(8) AND routed(8) ARE REQUIRED. (A simple recompile is all that's necessary.) I have a sample program which uses this interface for those interested in making use of it. Revision Changes Path 1.35 +3 -3 src/sys/net/if.c 1.32 +23 -7 src/sys/net/if.h 1.74 +1 -0 src/sys/conf/files