Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ethtool_ts_info Struct Reference

#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]
 

Detailed Description

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.

Definition at line 768 of file ethtool.h.

Field Documentation

Definition at line 769 of file ethtool.h.

__s32 phc_index

Definition at line 771 of file ethtool.h.

__u32 rx_filters

Definition at line 774 of file ethtool.h.

__u32 rx_reserved[3]

Definition at line 775 of file ethtool.h.

__u32 so_timestamping

Definition at line 770 of file ethtool.h.

__u32 tx_reserved[3]

Definition at line 773 of file ethtool.h.

__u32 tx_types

Definition at line 772 of file ethtool.h.


The documentation for this struct was generated from the following file: