Subject: Re: Interface traffic timestamps
To: Jonathan Stone <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 06/12/2004 00:48:26
On Fri, Jun 11, 2004 at 03:42:43PM -0700, Jonathan Stone wrote:
> 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.
Another idea maybe worth to think about: actually this is only interesting on
links where filtering is active (i.e. some packets could be dropped by pfil
and whatever sits behind that). Maybe doing some timestamp related operation
only if pfil dropped a packet could avoid the global performance hit.