netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: David Howells <dhowells@redhat.com>, netdev@vger.kernel.org
Cc: dhowells@redhat.com
Subject: Re: Is it possible to get Rx timestamps in skb->tstamp?
Date: Wed, 19 Sep 2018 15:16:12 +0200	[thread overview]
Message-ID: <875zz1k4pv.fsf@toke.dk> (raw)
In-Reply-To: <9873.1537362199@warthog.procyon.org.uk>

David Howells <dhowells@redhat.com> writes:

> Hi,
>
> 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

-Toke

  reply	other threads:[~2018-09-19 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19 13:03 Is it possible to get Rx timestamps in skb->tstamp? David Howells
2018-09-19 13:16 ` Toke Høiland-Jørgensen [this message]
2018-09-19 13:43   ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zz1k4pv.fsf@toke.dk \
    --to=toke@toke.dk \
    --cc=dhowells@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).