diff options
| author | Bill Fenner <fenner@FreeBSD.org> | 2001-10-17 04:12:29 +0000 |
|---|---|---|
| committer | Bill Fenner <fenner@FreeBSD.org> | 2001-10-17 04:12:29 +0000 |
| commit | b9d45cebf476588f9bbe0c5534fd3a7cb2f0528e (patch) | |
| tree | 3a092a48e9ca517c0577423fc3e3894299750bb4 /share | |
| parent | 2856a77139a76205cd66217939530c786622e23c (diff) | |
Notes
Diffstat (limited to 'share')
| -rw-r--r-- | share/man/man4/ifmib.4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man4/ifmib.4 b/share/man/man4/ifmib.4 index 9fd6bc891a8c..dc9b28d28c2f 100644 --- a/share/man/man4/ifmib.4 +++ b/share/man/man4/ifmib.4 @@ -76,7 +76,7 @@ MIB. The manifest constants for each level in the .Ar name are defined in .Aq Pa net/if_mib.h . -A count of interfaces (and thus rows in the table) is given by +The index of the last row in the table is given by .Dq Li net.link.generic.system.ifcount (or, using the manifest constants, .Dv CTL_NET , @@ -87,6 +87,10 @@ A count of interfaces (and thus rows in the table) is given by A management application searching for a particular interface should start with row 1 and continue through the table row-by-row until the desired interface is found, or the interface count is reached. +Note that the table may be sparse, i.e. a given row may not exist, +indicated by an errno of +.Er ENOENT . +Such an error should be ignored, and the next row should be checked. .Pp The generic interface information, common to all interfaces, can be accessed via the following procedure: |
