Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 22:08:28 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        net@freebsd.org
Subject:   Re: proposed new if_data variable
Message-ID:  <412F94BC.6360DC17@freebsd.org>
References:  <20040827200532.GE22253@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote:
> 
> I'd like to proposed adding a new variable, ifi_epoch, to struct
> if_data.  It will be set to the time the counters were zeroed,
> currently, the time if_attach was called.  The intent is to provide a
> correct value for RFC2233's ifCounterDiscontinuityTime and to make it
> easier for applications to verify that the interface they are looking at
> is the same one that had this index last time.
> 
> Since this will increase the size of struct if_data and thus struct
> ifnet, the change needs to be made now if it's going to be made for
> 5-STABLE.  Any comments on this idea?

I'm all for it!  Very useful.

-- 
Andre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412F94BC.6360DC17>