[email protected] said:
> I've seen SO_TIMESTAMP and friends in ethtool but I have no idea what it  is
> or how it works, can you point me in the right direction please? 

man 7 socket on a Linux box.  Then man recvmsg and man cmsg

There are several variations on various OSes.


The basic idea is that the OS input processing grabs a time stamp when the 
packet arrives.  On Linux, that's done by the kernel thread that looks in the 
packet headers to figure out which input queue the packet goes on.

The basic idea is that you get a time stamp when the packet arrives rather 
than when the user program gets around to read/recv-ing it.

-- 
These are my opinions.  I hate spam.


_______________________________________________
time-nuts mailing list -- [email protected] -- To unsubscribe send an 
email to [email protected]
To unsubscribe, go to and follow the instructions there.

Reply via email to