Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
ethtool.h File Reference
#include <linux/compat.h>
#include <uapi/linux/ethtool.h>
#include <linux/rculist.h>

Go to the source code of this file.

Data Structures

struct  ethtool_ops
 

Enumerations

enum  ethtool_phys_id_state { ETHTOOL_ID_INACTIVE, ETHTOOL_ID_ACTIVE, ETHTOOL_ID_ON, ETHTOOL_ID_OFF }
 

Functions

int __ethtool_get_settings (struct net_device *dev, struct ethtool_cmd *cmd)
 
u32 ethtool_op_get_link (struct net_device *dev)
 
int ethtool_op_get_ts_info (struct net_device *dev, struct ethtool_ts_info *eti)
 

Enumeration Type Documentation

enum ethtool_phys_id_state - indicator state for physical identification : Physical ID indicator should be deactivated : Physical ID indicator should be activated : LED should be turned on (used iff ETHTOOL_ID_ACTIVE is not supported) : LED should be turned off (used iff ETHTOOL_ID_ACTIVE is not supported)

Enumerator:
ETHTOOL_ID_INACTIVE 
ETHTOOL_ID_ACTIVE 
ETHTOOL_ID_ON 
ETHTOOL_ID_OFF 

Definition at line 55 of file ethtool.h.

Function Documentation

int __ethtool_get_settings ( struct net_device dev,
struct ethtool_cmd cmd 
)

Definition at line 310 of file ethtool.c.

u32 ethtool_op_get_link ( struct net_device dev)

Definition at line 35 of file ethtool.c.

int ethtool_op_get_ts_info ( struct net_device dev,
struct ethtool_ts_info eti 
)

Definition at line 41 of file ethtool.c.