Subject: Re: Interface traffic timestamps
To: Martin Husemann <>
From: Jonathan Stone <>
List: tech-kern
Date: 06/11/2004 15:42:43
In message <>,
Martin Husemann writes:

>On Fri, Jun 11, 2004 at 11:35:07AM -0700, Jason Thorpe wrote:
>> Yah, perhaps seconds is good enough ... then you pretty much definitely 
>> do not have to worry about spl frobbing for a decent "ballpark" 
>> timestamp.
>Yes - seconds is good enough and I would just not do any locking - but
>overall this all sounds hackish and I'm open to suggestions for better

So wrap it in a macro. Write a macro (or inline function in sys/net/if.h)
which takes a struct ifnet *, and DTRT.  Whatever that may become, over time.