[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJX4=r2XBGGzMFgeKC-TvZ-WQ9skwoBFA5na_XiLNqDn0U9V+Q@mail.gmail.com>
Date: Tue, 22 Nov 2011 11:04:45 -0300
From: Felipe Dias <felipediassss@...il.com>
To: Benjamin Poirier <benjamin.poirier@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: skb->timestamp == 0.000000 ?
On Mon, Nov 21, 2011 at 6:11 PM, Benjamin Poirier
<benjamin.poirier@...il.com> wrote:
> On 11/11/19 18:13, Felipe Dias wrote:
>> And time_skb.tv_sec and time_skb.tv_usec are equal to 0;
>>
>> I'm doing some wrong ?
>
> Timestamps have to be enabled
> have a look at:
> net_enable_timestamp()
>
who is responsible for enabling? Would not it be the driver?
Some packets (icmp) appear timestamp other packages do not appear.
I'm confused, in my mind, after the registration of the "protocol
handler" (with dev_add_pack) any skb should have the timestamp.
Sorry, but I'm confused.
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