Linux Kernel
3.7.1
|
#include <ethtool.h>
Data Fields | |
__u32 | cmd |
__u32 | so_timestamping |
__s32 | phc_index |
__u32 | tx_types |
__u32 | tx_reserved [3] |
__u32 | rx_filters |
__u32 | rx_reserved [3] |
struct ethtool_ts_info - holds a device's timestamping and PHC association : command number = ETHTOOL_GET_TS_INFO : bit mask of the sum of the supported SO_TIMESTAMPING flags : device index of the associated PHC, or -1 if there is none : bit mask of the supported hwtstamp_tx_types enumeration values : bit mask of the supported hwtstamp_rx_filters enumeration values
The bits in the 'tx_types' and 'rx_filters' fields correspond to the 'hwtstamp_tx_types' and 'hwtstamp_rx_filters' enumeration values, respectively. For example, if the device supports HWTSTAMP_TX_ON, then (1 << HWTSTAMP_TX_ON) in 'tx_types' will be set.