1STRUCT SKB_SHARED_HW(9)        Linux Networking        STRUCT SKB_SHARED_HW(9)
2
3
4

NAME

6       struct_skb_shared_hwtstamps - hardware time stamps
7

SYNOPSIS

9       struct skb_shared_hwtstamps {
10         ktime_t hwtstamp;
11         ktime_t syststamp;
12       };
13

MEMBERS

15       hwtstamp
16           hardware time stamp transformed into duration since arbitrary point
17           in time
18
19       syststamp
20           hwtstamp transformed to system time base
21

DESCRIPTION

23       Software time stamps generated by ktime_get_real are stored in
24       skb->tstamp. The relation between the different kinds of time
25

STAMPS IS AS FOLLOWS

27       syststamp and tstamp can be compared against each other in arbitrary
28       combinations. The accuracy of a syststamp/tstamp/“syststamp from other
29       device” comparison is limited by the accuracy of the transformation
30       into system time base. This depends on the device driver and its
31       underlying hardware.
32
33       hwtstamps can only be compared against other hwtstamps from the same
34       device.
35
36       This structure is attached to packets as part of the skb_shared_info.
37       Use skb_hwtstamps to get a pointer.
38
40Kernel Hackers Manual 2.6.       November 2011         STRUCT SKB_SHARED_HW(9)
Impressum