cvs commit: src/sys/sys param.h src/sys/net if.c if.h
Brooks Davis
brooks at FreeBSD.org
Tue Sep 7 21:50:55 PDT 2004
brooks 2004-09-08 04:50:55 UTC
FreeBSD src repository
Modified files:
sys/sys param.h
sys/net if.c if.h
Log:
Re-add ifi_epoch, to struct if_data, this time replacing ifi_unused
to avoid ABI changes. It is set to the last time the interface
counters were zeroed, currently the time if_attach() was called. It is
intentended 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.
Due to space constraints ifi_epoch is a time_t rather then a struct
timeval. SNMP would prefer higher precision, but this unlikely to be
useful in practice.
Revision Changes Path
1.206 +1 -0 src/sys/net/if.c
1.92 +4 -1 src/sys/net/if.h
1.215 +1 -1 src/sys/sys/param.h
More information about the cvs-src
mailing list