Re: Is it possible to get Rx timestamps in skb->tstamp?

2018-09-19 Thread David Howells
Toke Høiland-Jørgensen 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 >

Re: Is it possible to get Rx timestamps in skb->tstamp?

2018-09-19 Thread Toke Høiland-Jørgensen
David Howells 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

Is it possible to get Rx timestamps in skb->tstamp?

2018-09-19 Thread David Howells
Hi, Is it possible to tell a UDP socket that you'd like it to put reception timestamps in skb->tstamp? For some reason, I seem to remember that the kernel used to put something in there - and AF_RXRPC makes use of it. David