[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJX4=r1nz4Wq00tmJKUsJNLb41Bh4=-V1ixLcS05mXm0tpek9g@mail.gmail.com>
Date: Sat, 19 Nov 2011 18:18:51 -0300
From: Felipe Dias <felipediassss@...il.com>
To: netdev@...r.kernel.org
Subject: skb->tstamp == 0.00000 ?
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists