Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ethernet.h File Reference

Go to the source code of this file.

Macros

#define ETHERNET_ADDRESS_LENGTH   6
 
#define ETHERNET_HEADER_SIZE   14
 
#define LLC_HEADER_SIZE   6
 
#define TYPE_LENGTH_FIELD_SIZE   2
 
#define MINIMUM_ETHERNET_PACKET_SIZE   60
 
#define MAXIMUM_ETHERNET_PACKET_SIZE   1514
 
#define RT_ETH_IS_MULTICAST(_pAddr)   ((((u8 *)(_pAddr))[0]&0x01) != 0)
 

Macro Definition Documentation

#define ETHERNET_ADDRESS_LENGTH   6

Ethernet Address Length

Definition at line 29 of file ethernet.h.

#define ETHERNET_HEADER_SIZE   14

Ethernet Header Length

Definition at line 30 of file ethernet.h.

#define LLC_HEADER_SIZE   6

LLC Header Length

Definition at line 31 of file ethernet.h.

#define MAXIMUM_ETHERNET_PACKET_SIZE   1514

Max Ethernet Packet Size Is Multicast Address?

Definition at line 34 of file ethernet.h.

#define MINIMUM_ETHERNET_PACKET_SIZE   60

Min Ethernet Packet Size

Definition at line 33 of file ethernet.h.

#define RT_ETH_IS_MULTICAST (   _pAddr)    ((((u8 *)(_pAddr))[0]&0x01) != 0)

Definition at line 37 of file ethernet.h.

#define TYPE_LENGTH_FIELD_SIZE   2

Type/Length Size

Definition at line 32 of file ethernet.h.