This website requires JavaScript.
Explore
Help
Sign In
openkylin
/
linux
mirror of
https://gitee.com/openkylin/linux.git
Watch
9
Star
0
Fork
You've already forked linux
0
Code
Issues
Projects
Releases
Wiki
Activity
d5c76f628d
linux
/
Documentation
/
networking
/
timestamping
/
.gitignore
3 lines
29 B
Plaintext
Raw
Normal View
History
Unescape
Escape
net: new user space API for time stamping of incoming and outgoing packets User space can request hardware and/or software time stamping. Reporting of the result(s) via a new control message is enabled separately for each field in the message because some of the fields may require additional computation and thus cause overhead. User space can tell the different kinds of time stamps apart and choose what suits its needs. When a TX timestamp operation is requested, the TX skb will be cloned and the clone will be time stamped (in hardware or software) and added to the socket error queue of the skb, if the skb has a socket associated with it. The actual TX timestamp will reach userspace as a RX timestamp on the cloned packet. If timestamping is requested and no timestamping is done in the device driver (potentially this may use hardware timestamping), it will be done in software after the device's start_hard_xmit routine. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2009-02-12 13:03:36 +08:00
timestamping
net_tstamp,doc: Add test program for SIOC{G,S}HWTSTAMP Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2013-11-23 04:10:24 +08:00
hwtstamp_config