Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
qeth.h File Reference
#include <linux/types.h>
#include <linux/ioctl.h>

Go to the source code of this file.

Data Structures

struct  qeth_arp_cache_entry
 
struct  qeth_arp_entrytype
 
struct  qeth_arp_qi_entry7
 
struct  qeth_arp_qi_entry7_ipv6
 
struct  qeth_arp_qi_entry7_short
 
struct  qeth_arp_qi_entry7_short_ipv6
 
struct  qeth_arp_qi_entry5
 
struct  qeth_arp_qi_entry5_ipv6
 
struct  qeth_arp_qi_entry5_short
 
struct  qeth_arp_qi_entry5_short_ipv6
 
struct  qeth_arp_query_user_data
 
struct  qeth_query_oat_data
 

Macros

#define SIOC_QETH_ARP_SET_NO_ENTRIES   (SIOCDEVPRIVATE)
 
#define SIOC_QETH_ARP_QUERY_INFO   (SIOCDEVPRIVATE + 1)
 
#define SIOC_QETH_ARP_ADD_ENTRY   (SIOCDEVPRIVATE + 2)
 
#define SIOC_QETH_ARP_REMOVE_ENTRY   (SIOCDEVPRIVATE + 3)
 
#define SIOC_QETH_ARP_FLUSH_CACHE   (SIOCDEVPRIVATE + 4)
 
#define SIOC_QETH_ADP_SET_SNMP_CONTROL   (SIOCDEVPRIVATE + 5)
 
#define SIOC_QETH_GET_CARD_TYPE   (SIOCDEVPRIVATE + 6)
 
#define SIOC_QETH_QUERY_OAT   (SIOCDEVPRIVATE + 7)
 
#define QETH_QARP_MEDIASPECIFIC_BYTES   32
 
#define QETH_QARP_MACADDRTYPE_BYTES   1
 
#define QETH_QARP_STRIP_ENTRIES   0x8000
 
#define QETH_QARP_WITH_IPV6   0x4000
 
#define QETH_QARP_REQUEST_MASK   0x00ff
 
#define QETH_QARP_USER_DATA_SIZE   20000
 
#define QETH_QARP_MASK_OFFSET   4
 
#define QETH_QARP_ENTRIES_OFFSET   6
 

Enumerations

enum  qeth_arp_ipaddrtype { QETHARP_IP_ADDR_V4 = 1, QETHARP_IP_ADDR_V6 = 2 }
 

Functions

struct qeth_arp_cache_entry __attribute__ ((packed))
 

Variables

__u8 macaddr [6]
 
__u8 reserved1 [2]
 
__u8 ipaddr [16]
 
__u8 reserved2 [32]
 
enum qeth_arp_ipaddrtype __attribute__
 
__u8 mac
 
__u8 ip
 
__u8 media_specific [QETH_QARP_MEDIASPECIFIC_BYTES]
 
struct qeth_arp_entrytype type
 
union {
   __u32   data_len
 
   __u32   no_entries
 
u
 
__u16 mask_bits
 
charentries
 

Macro Definition Documentation

#define QETH_QARP_ENTRIES_OFFSET   6

Definition at line 99 of file qeth.h.

#define QETH_QARP_MACADDRTYPE_BYTES   1

Definition at line 40 of file qeth.h.

#define QETH_QARP_MASK_OFFSET   4

Definition at line 98 of file qeth.h.

#define QETH_QARP_MEDIASPECIFIC_BYTES   32

Definition at line 39 of file qeth.h.

#define QETH_QARP_REQUEST_MASK   0x00ff

Definition at line 94 of file qeth.h.

#define QETH_QARP_STRIP_ENTRIES   0x8000

Definition at line 92 of file qeth.h.

#define QETH_QARP_USER_DATA_SIZE   20000

Definition at line 97 of file qeth.h.

#define QETH_QARP_WITH_IPV6   0x4000

Definition at line 93 of file qeth.h.

#define SIOC_QETH_ADP_SET_SNMP_CONTROL   (SIOCDEVPRIVATE + 5)

Definition at line 19 of file qeth.h.

#define SIOC_QETH_ARP_ADD_ENTRY   (SIOCDEVPRIVATE + 2)

Definition at line 16 of file qeth.h.

#define SIOC_QETH_ARP_FLUSH_CACHE   (SIOCDEVPRIVATE + 4)

Definition at line 18 of file qeth.h.

#define SIOC_QETH_ARP_QUERY_INFO   (SIOCDEVPRIVATE + 1)

Definition at line 15 of file qeth.h.

#define SIOC_QETH_ARP_REMOVE_ENTRY   (SIOCDEVPRIVATE + 3)

Definition at line 17 of file qeth.h.

#define SIOC_QETH_ARP_SET_NO_ENTRIES   (SIOCDEVPRIVATE)

Definition at line 14 of file qeth.h.

#define SIOC_QETH_GET_CARD_TYPE   (SIOCDEVPRIVATE + 6)

Definition at line 20 of file qeth.h.

#define SIOC_QETH_QUERY_OAT   (SIOCDEVPRIVATE + 7)

Definition at line 21 of file qeth.h.

Enumeration Type Documentation

Enumerator:
QETHARP_IP_ADDR_V4 
QETHARP_IP_ADDR_V6 

Definition at line 30 of file qeth.h.

Function Documentation

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__le32 data_len

Definition at line 109 of file qeth.h.

char* entries

Definition at line 113 of file qeth.h.

__u8 ip

Definition at line 39 of file qeth.h.

__u8 ipaddr

Definition at line 31 of file qeth.h.

Definition at line 38 of file qeth.h.

Definition at line 29 of file qeth.h.

__u16 mask_bits

Definition at line 112 of file qeth.h.

__u8 media_specific

Definition at line 47 of file qeth.h.

__u32 no_entries

Definition at line 110 of file qeth.h.

__u8 reserved1[2]

Definition at line 30 of file qeth.h.

__u8 reserved2[32]

Definition at line 32 of file qeth.h.

Definition at line 48 of file qeth.h.

union { ... } u