History log of /freebsd-9.3-release/tools/tools/ifinfo/ifinfo.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 189331 03-Mar-2009 yongari

Make ifinfo build. The struct if_data members ifi_recvquota and
ifi_xmitquota were renamed to ifi_spare_char1 and ifi_spare_char2
respectively.


# 154023 04-Jan-2006 harti

Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieve
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


# 85040 17-Oct-2001 fenner

The interface index space may be sparsely populated (e.g. when an
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.

MFC after: 14 days


# 65824 13-Sep-2000 wollman

Fix compilation problems and bounds-checking bug in `ifinfo'.

PR: 21177
Submitted by: Craig Leres <leres@ee.lbl.gov>


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 28977 31-Aug-1997 bde

Made this compile again (getopt moved to <unistd.h>).

Fixed usage message.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# 18870 11-Oct-1996 wollman

Add my little `ifinfo' program. This is sort of a cross between a
diagnostic program for debugging the interface MIB and an example of
how to use same. Someday, netstat should be updated to print this
information in a prettier form.