Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ethtool-kernel.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ethtool_cmd
struct  ethtool_coalesce
struct  ethtool_drvinfo
struct  ethtool_eeprom
struct  ethtool_gstrings
struct  ethtool_pauseparam
struct  ethtool_regs
struct  ethtool_ringparam
struct  ethtool_test
struct  ethtool_value
struct  ethtool_wolinfo

Macros

#define ADVERTISED_1000baseT_Full   (1 << 5)
#define ADVERTISED_1000baseT_Half   (1 << 4)
#define ADVERTISED_100baseT_Full   (1 << 3)
#define ADVERTISED_100baseT_Half   (1 << 2)
#define ADVERTISED_10baseT_Full   (1 << 1)
#define ADVERTISED_10baseT_Half   (1 << 0)
#define ADVERTISED_AUI   (1 << 8)
#define ADVERTISED_Autoneg   (1 << 6)
#define ADVERTISED_BNC   (1 << 11)
#define ADVERTISED_FIBRE   (1 << 10)
#define ADVERTISED_MII   (1 << 9)
#define ADVERTISED_TP   (1 << 7)
#define AUTONEG_DISABLE   0x00
#define AUTONEG_ENABLE   0x01
#define DUPLEX_FULL   0x01
#define DUPLEX_HALF   0x00
#define ETH_GSTRING_LEN   32
#define ETHTOOL_BUSINFO_LEN   32
#define ETHTOOL_GCOALESCE   0x0000000e /* Get coalesce config */
#define ETHTOOL_GDRVINFO   0x00000003 /* Get driver info. */
#define ETHTOOL_GEEPROM   0x0000000b /* Get EEPROM data */
#define ETHTOOL_GLINK   0x0000000a /* Get link status (ethtool_value) */
#define ETHTOOL_GMSGLVL   0x00000007 /* Get driver message level */
#define ETHTOOL_GPAUSEPARAM   0x00000012 /* Get pause parameters */
#define ETHTOOL_GREGS   0x00000004 /* Get NIC registers, privileged. */
#define ETHTOOL_GRINGPARAM   0x00000010 /* Get ring parameters */
#define ETHTOOL_GRXCSUM   0x00000014 /* Get RX hw csum enable (ethtool_value) */
#define ETHTOOL_GSET   0x00000001 /* Get settings. */
#define ETHTOOL_GSG
#define ETHTOOL_GSTRINGS   0x0000001b /* get specified string set */
#define ETHTOOL_GTXCSUM   0x00000016 /* Get TX hw csum enable (ethtool_value) */
#define ETHTOOL_GWOL   0x00000005 /* Get wake-on-lan options. */
#define ETHTOOL_NWAY_RST   0x00000009 /* Restart autonegotiation, priv. */
#define ETHTOOL_PHYS_ID   0x0000001c /* identify the NIC */
#define ETHTOOL_SCOALESCE   0x0000000f /* Set coalesce config, priv. */
#define ETHTOOL_SEEPROM   0x0000000c /* Set EEPROM data, priv. */
#define ETHTOOL_SMSGLVL   0x00000008 /* Set driver msg level, priv. */
#define ETHTOOL_SPAUSEPARAM   0x00000013 /* Set pause parameters, priv. */
#define ETHTOOL_SRINGPARAM   0x00000011 /* Set ring parameters, priv. */
#define ETHTOOL_SRXCSUM   0x00000015 /* Set RX hw csum enable (ethtool_value) */
#define ETHTOOL_SSET   0x00000002 /* Set settings, privileged. */
#define ETHTOOL_SSG
#define ETHTOOL_STXCSUM   0x00000017 /* Set TX hw csum enable (ethtool_value) */
#define ETHTOOL_SWOL   0x00000006 /* Set wake-on-lan options, priv. */
#define ETHTOOL_TEST   0x0000001a /* execute NIC self-test, priv. */
#define PORT_AUI   0x01
#define PORT_BNC   0x04
#define PORT_FIBRE   0x03
#define PORT_MII   0x02
#define PORT_TP   0x00
#define SOPASS_MAX   6
#define SPARC_ETH_GSET   ETHTOOL_GSET
#define SPARC_ETH_SSET   ETHTOOL_SSET
#define SPEED_10   10
#define SPEED_100   100
#define SPEED_1000   1000
#define SUPPORTED_1000baseT_Full   (1 << 5)
#define SUPPORTED_1000baseT_Half   (1 << 4)
#define SUPPORTED_100baseT_Full   (1 << 3)
#define SUPPORTED_100baseT_Half   (1 << 2)
#define SUPPORTED_10baseT_Full   (1 << 1)
#define SUPPORTED_10baseT_Half   (1 << 0)
#define SUPPORTED_AUI   (1 << 8)
#define SUPPORTED_Autoneg   (1 << 6)
#define SUPPORTED_BNC   (1 << 11)
#define SUPPORTED_FIBRE   (1 << 10)
#define SUPPORTED_MII   (1 << 9)
#define SUPPORTED_TP   (1 << 7)
#define WAKE_ARP   (1 << 4)
#define WAKE_BCAST   (1 << 3)
#define WAKE_MAGIC   (1 << 5)
#define WAKE_MAGICSECURE   (1 << 6) /* only meaningful if WAKE_MAGIC */
#define WAKE_MCAST   (1 << 2)
#define WAKE_PHY   (1 << 0)
#define WAKE_UCAST   (1 << 1)
#define XCVR_DUMMY1   0x02
#define XCVR_DUMMY2   0x03
#define XCVR_DUMMY3   0x04
#define XCVR_EXTERNAL   0x01
#define XCVR_INTERNAL   0x00

Enumerations

enum  ethtool_stringset { ETH_SS_TEST = 0, ETH_SS_STATS }
enum  ethtool_test_flags { ETH_TEST_FL_OFFLINE = (1 << 0), ETH_TEST_FL_FAILED = (1 << 1) }

Macro Definition Documentation

#define ADVERTISED_1000baseT_Full   (1 << 5)
#define ADVERTISED_1000baseT_Half   (1 << 4)
#define ADVERTISED_100baseT_Full   (1 << 3)
#define ADVERTISED_100baseT_Half   (1 << 2)
#define ADVERTISED_10baseT_Full   (1 << 1)
#define ADVERTISED_10baseT_Half   (1 << 0)
#define ADVERTISED_AUI   (1 << 8)
#define ADVERTISED_Autoneg   (1 << 6)
#define ADVERTISED_BNC   (1 << 11)
#define ADVERTISED_FIBRE   (1 << 10)
#define ADVERTISED_MII   (1 << 9)
#define ADVERTISED_TP   (1 << 7)
#define AUTONEG_DISABLE   0x00
#define AUTONEG_ENABLE   0x01
#define DUPLEX_FULL   0x01
#define DUPLEX_HALF   0x00
#define ETH_GSTRING_LEN   32
#define ETHTOOL_BUSINFO_LEN   32
#define ETHTOOL_GCOALESCE   0x0000000e /* Get coalesce config */
#define ETHTOOL_GDRVINFO   0x00000003 /* Get driver info. */
#define ETHTOOL_GEEPROM   0x0000000b /* Get EEPROM data */
#define ETHTOOL_GLINK   0x0000000a /* Get link status (ethtool_value) */
#define ETHTOOL_GMSGLVL   0x00000007 /* Get driver message level */
#define ETHTOOL_GPAUSEPARAM   0x00000012 /* Get pause parameters */
#define ETHTOOL_GREGS   0x00000004 /* Get NIC registers, privileged. */
#define ETHTOOL_GRINGPARAM   0x00000010 /* Get ring parameters */
#define ETHTOOL_GRXCSUM   0x00000014 /* Get RX hw csum enable (ethtool_value) */
#define ETHTOOL_GSET   0x00000001 /* Get settings. */
#define ETHTOOL_GSG
Value:
0x00000018 /* Get scatter-gather enable
* (ethtool_value) */
#define ETHTOOL_GSTRINGS   0x0000001b /* get specified string set */
#define ETHTOOL_GTXCSUM   0x00000016 /* Get TX hw csum enable (ethtool_value) */
#define ETHTOOL_GWOL   0x00000005 /* Get wake-on-lan options. */
#define ETHTOOL_NWAY_RST   0x00000009 /* Restart autonegotiation, priv. */
#define ETHTOOL_PHYS_ID   0x0000001c /* identify the NIC */
#define ETHTOOL_SCOALESCE   0x0000000f /* Set coalesce config, priv. */
#define ETHTOOL_SEEPROM   0x0000000c /* Set EEPROM data, priv. */
#define ETHTOOL_SMSGLVL   0x00000008 /* Set driver msg level, priv. */
#define ETHTOOL_SPAUSEPARAM   0x00000013 /* Set pause parameters, priv. */
#define ETHTOOL_SRINGPARAM   0x00000011 /* Set ring parameters, priv. */
#define ETHTOOL_SRXCSUM   0x00000015 /* Set RX hw csum enable (ethtool_value) */
#define ETHTOOL_SSET   0x00000002 /* Set settings, privileged. */
#define ETHTOOL_SSG
Value:
0x00000019 /* Set scatter-gather enable
* (ethtool_value), priv. */
#define ETHTOOL_STXCSUM   0x00000017 /* Set TX hw csum enable (ethtool_value) */
#define ETHTOOL_SWOL   0x00000006 /* Set wake-on-lan options, priv. */
#define ETHTOOL_TEST   0x0000001a /* execute NIC self-test, priv. */
#define PORT_AUI   0x01
#define PORT_BNC   0x04
#define PORT_FIBRE   0x03
#define PORT_MII   0x02
#define PORT_TP   0x00
#define SOPASS_MAX   6
#define SPARC_ETH_GSET   ETHTOOL_GSET
#define SPARC_ETH_SSET   ETHTOOL_SSET
#define SPEED_10   10
#define SPEED_100   100
#define SPEED_1000   1000
#define SUPPORTED_1000baseT_Full   (1 << 5)
#define SUPPORTED_1000baseT_Half   (1 << 4)
#define SUPPORTED_100baseT_Full   (1 << 3)
#define SUPPORTED_100baseT_Half   (1 << 2)
#define SUPPORTED_10baseT_Full   (1 << 1)
#define SUPPORTED_10baseT_Half   (1 << 0)
#define SUPPORTED_AUI   (1 << 8)
#define SUPPORTED_Autoneg   (1 << 6)
#define SUPPORTED_BNC   (1 << 11)
#define SUPPORTED_FIBRE   (1 << 10)
#define SUPPORTED_MII   (1 << 9)
#define SUPPORTED_TP   (1 << 7)
#define WAKE_ARP   (1 << 4)
#define WAKE_BCAST   (1 << 3)
#define WAKE_MAGIC   (1 << 5)
#define WAKE_MAGICSECURE   (1 << 6) /* only meaningful if WAKE_MAGIC */
#define WAKE_MCAST   (1 << 2)
#define WAKE_PHY   (1 << 0)
#define WAKE_UCAST   (1 << 1)
#define XCVR_DUMMY1   0x02
#define XCVR_DUMMY2   0x03
#define XCVR_DUMMY3   0x04
#define XCVR_EXTERNAL   0x01
#define XCVR_INTERNAL   0x00

Enumeration Type Documentation

Enumerator:
ETH_SS_TEST 
ETH_SS_STATS 
Enumerator:
ETH_TEST_FL_OFFLINE 
ETH_TEST_FL_FAILED