Date: Wed, 8 Sep 2004 04:50:55 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys param.h src/sys/net if.c if.h Message-ID: <200409080450.i884otpS054876@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409080450.i884otpS054876>