HEADS-UP: network interface modules need recompile
Brooks Davis
brooks at one-eyed-alien.net
Mon Aug 30 00:17:21 PDT 2004
With the following change, all network interface modules as well as most
applcations that monitor network interface statistics will need to be
recompiled since struct if_data has grown.
-- Brooks
----- Forwarded message from Brooks Davis <brooks at FreeBSD.org> -----
From: Brooks Davis <brooks at FreeBSD.org>
Date: Mon, 30 Aug 2004 06:29:26 +0000 (UTC)
To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at FreeBSD.org
X-Virus-Status: No
Subject: cvs commit: src UPDATING src/sys/sys param.h src/sys/net if.c if.h
brooks 2004-08-30 06:29:26 UTC
FreeBSD src repository
Modified files:
. UPDATING
sys/sys param.h
sys/net if.c if.h
Log:
Add a new variable, ifi_epoch, to struct if_data. It is set to the last
time the interface counters were zeroed, currently the time if_attach()
was called. It is indentended to be a valid value for RFC2233's
ifCounterDiscontinuityTime and to make it easier for applications to
verify that the interface they find at a given index is the one that was
there last time they looked.
An if_epoch "compatability" macro has not been created as ifi_epoch has
never been a member of struct ifnet.
Approved by: andre, bms, wollman
Revision Changes Path
1.352 +5 -0 src/UPDATING
1.201 +1 -0 src/sys/net/if.c
1.89 +1 -0 src/sys/net/if.h
1.214 +1 -1 src/sys/sys/param.h
----- End forwarded message -----
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040830/1210a039/attachment.bin
More information about the freebsd-current
mailing list