summaryrefslogtreecommitdiffstats
path: root/sys/net/if_mib.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieveharti2006-01-041-0/+1
| | | | | | | the name and unit number assigned by the driver. This is needed by SNMP to find interfaces after they have been renamed. MFC after: 4 weeks
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Fixed pedantic syntax error.bde1996-12-181-2/+2
|
* Add some padding to struct ifmibdata and move the `struct ifdata' towollman1996-08-281-2/+94
| | | | | | | | | | the end of that sstructure to make evolution easier. Add definitions for the 802.3/Ethernet MIB. To implement this, simply add a `struct ifmib_iso_8802_3' somewhere in your interface's softc, point if_linkmib to it, set if_linkmiblen, and fill in the statistics with appropriate values. (I didn't want to create Yet Another Ethernet- related header file, otherwise this would have been separated out.)
* Add better support for retrieving management information from networkwollman1996-07-301-0/+78
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.
OpenPOWER on IntegriCloud