[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10302.1537364584@warthog.procyon.org.uk>
Date: Wed, 19 Sep 2018 14:43:04 +0100
From: David Howells <dhowells@...hat.com>
To: Toke
=?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= <toke@...e.dk>
Cc: dhowells@...hat.com, netdev@...r.kernel.org
Subject: Re: Is it possible to get Rx timestamps in skb->tstamp?
Toke Høiland-Jørgensen <toke@...e.dk> wrote:
> > Is it possible to tell a UDP socket that you'd like it to put
> > reception timestamps in skb->tstamp?
>
> I think you probably want SO_TIMESTAMP*?
>
> See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/networking/timestamping.txt
That seems to work. I thought that only affected recvmsg() putting the
timestamp into the ancillary data buffer, but apparently not.
Thanks,
David
Powered by blists - more mailing lists