Is it possible to get Rx timestamps in skb->tstamp?
Subsystems (2)
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
Quoted 4 lines · David Howells
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*?
-Toke
Quoted 6 lines · Toke Høiland-Jørgensen
Quoted 2 lines
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*?
That seems to work. I thought that only affected recvmsg() putting the timestamp into the ancillary data buffer, but apparently not.
Thanks,
David