1. NAME

struct_skb_shared_hwtstamps - hardware time stamps

2. SYNOPSIS



 
Sélectionnez
struct skb_shared_hwtstamps {
  ktime_t hwtstamp;
  ktime_t syststamp;
};

3. MEMBERS

hwtstamp
    hardware time stamp transformed into duration since arbitrary point in time

syststamp
    hwtstamp transformed to system time base

4. DESCRIPTION

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

5. STAMPS IS AS FOLLOWS

syststamp and tstamp can be compared against each other in arbitrary combinations. The accuracy of a syststamp/tstamp/« syststamp from other device » comparison is limited by the accuracy of the transformation into system time base. This depends on the device driver and its underlying hardware.

hwtstamps can only be compared against other hwtstamps from the same device.

This structure is attached to packets as part of the skb_shared_info. Use skb_hwtstamps to get a pointer.

6. COPYRIGHT