[Bridge] skb timestamp set in bridge?

Stephen Hemminger shemminger at osdl.org
Fri Sep 8 15:59:42 PDT 2006


On Fri, 8 Sep 2006 18:51:18 -0400
"Joubert Berger" <joubertb at gmail.com> wrote:

> In 2.4, I relied on the skb->stamp to contain the timestamp of when
> the packet entered the bridge.  In 2.6, I don't seem to be seeing this
> behaviour.  Is this correct?  If so, what is the best place for me to
> grab the timestamp of the packet entering the bridge.
> 
> TIA.
> 

What code do you have that needs the timestamp.
2.6 doesn't enable timestamps unless some application needs it.

If it is a kernel driver, then it should call net_enable_timestamp()
when loaded and net_disable_timestamp() when unloaded.



More information about the Bridge mailing list