Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ethtool.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/capability.h>
#include <linux/errno.h>
#include <linux/ethtool.h>
#include <linux/netdevice.h>
#include <linux/net_tstamp.h>
#include <linux/phy.h>
#include <linux/bitops.h>
#include <linux/uaccess.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include <linux/sched.h>

Go to the source code of this file.

Macros

#define ETHTOOL_DEV_FEATURE_WORDS   ((NETDEV_FEATURE_COUNT + 31) / 32)
 
#define ETH_ALL_FLAGS
 
#define ETH_ALL_FEATURES
 

Functions

u32 ethtool_op_get_link (struct net_device *dev)
 
 EXPORT_SYMBOL (ethtool_op_get_link)
 
int ethtool_op_get_ts_info (struct net_device *dev, struct ethtool_ts_info *info)
 
 EXPORT_SYMBOL (ethtool_op_get_ts_info)
 
int __ethtool_get_settings (struct net_device *dev, struct ethtool_cmd *cmd)
 
 EXPORT_SYMBOL (__ethtool_get_settings)
 
int dev_ethtool (struct net *net, struct ifreq *ifr)
 

Macro Definition Documentation

#define ETH_ALL_FEATURES
Value:

Definition at line 268 of file ethtool.c.

#define ETH_ALL_FLAGS
Value:

Definition at line 266 of file ethtool.c.

#define ETHTOOL_DEV_FEATURE_WORDS   ((NETDEV_FEATURE_COUNT + 31) / 32)

Definition at line 54 of file ethtool.c.

Function Documentation

int __ethtool_get_settings ( struct net_device dev,
struct ethtool_cmd cmd 
)

Definition at line 310 of file ethtool.c.

int dev_ethtool ( struct net net,
struct ifreq ifr 
)

Definition at line 1415 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 info 
)

Definition at line 41 of file ethtool.c.

EXPORT_SYMBOL ( ethtool_op_get_link  )
EXPORT_SYMBOL ( ethtool_op_get_ts_info  )
EXPORT_SYMBOL ( __ethtool_get_settings  )