Netdev List
 help / color / mirror / Atom feed
* skb->timestamp == 0.000000 ?
@ 2011-11-19 21:13 Felipe Dias
  2011-11-21 21:11 ` Benjamin Poirier
  0 siblings, 1 reply; 4+ messages in thread
From: Felipe Dias @ 2011-11-19 21:13 UTC (permalink / raw)
  To: netdev

Hi..

Please let me know if this isnt right list to this kind of question.

I'm registering a new protocol handler with dev_add_pack. I would like
to know only the difference between timestamp on skb->tstamp and the
time of reception by my module.

So I do:
----
struct timeval time_skb, time_module;
do_gettimeofday(&time_module):
skb_get_timestamp(skb, &time_skb);
---

And time_skb.tv_sec and time_skb.tv_usec are equal to 0;

I'm doing some wrong ?

Best regards,
Felipe

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-22 14:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-19 21:13 skb->timestamp == 0.000000 ? Felipe Dias
2011-11-21 21:11 ` Benjamin Poirier
2011-11-22 14:04   ` Felipe Dias
2011-11-22 14:10     ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox