[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321971040.2474.9.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC>
Date: Tue, 22 Nov 2011 15:10:40 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Felipe Dias <felipediassss@...il.com>
Cc: Benjamin Poirier <benjamin.poirier@...il.com>,
netdev@...r.kernel.org
Subject: Re: skb->timestamp == 0.000000 ?
Le mardi 22 novembre 2011 à 11:04 -0300, Felipe Dias a écrit :
> 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.
>
This is not the trigger for timestamps.
You need to call setsockopt(SO_TIMESTAMP or SO_TIMESTAMPNS) on at least
one socket.
--
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