Go to the documentation of this file.
26 #ifndef __INC_ETHERNET_H
27 #define __INC_ETHERNET_H
29 #define ETHERNET_ADDRESS_LENGTH 6
30 #define ETHERNET_HEADER_SIZE 14
31 #define LLC_HEADER_SIZE 6
32 #define TYPE_LENGTH_FIELD_SIZE 2
33 #define MINIMUM_ETHERNET_PACKET_SIZE 60
34 #define MAXIMUM_ETHERNET_PACKET_SIZE 1514
37 #define RT_ETH_IS_MULTICAST(_pAddr) ((((u8 *)(_pAddr))[0]&0x01) != 0)