From owner-cvs-all@FreeBSD.ORG Wed Sep 8 04:50:55 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A31D16A4CE; Wed, 8 Sep 2004 04:50:55 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62C6743D5E; Wed, 8 Sep 2004 04:50:55 +0000 (GMT) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i884otpO054877; Wed, 8 Sep 2004 04:50:55 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from brooks@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i884otpS054876; Wed, 8 Sep 2004 04:50:55 GMT (envelope-from brooks) Message-Id: <200409080450.i884otpS054876@repoman.freebsd.org> From: Brooks Davis Date: Wed, 8 Sep 2004 04:50:55 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys param.h src/sys/net if.c if.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 04:50:55 -0000 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