proposed new if_data variable

Andre Oppermann andre at freebsd.org
Fri Aug 27 15:37:19 PDT 2004


Roman Kurakin wrote:
> 
> Andre Oppermann:
> 
> >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.
> >
> This could be other reason to bump version ...

I have bumped version to 600001 today due to the permanent pfil_hooks.  You
can use that if you wish.

-- 
Andre


More information about the freebsd-net mailing list