1N/A#ifndef _IF_ETHER_H
1N/A#define _IF_ETHER_H
1N/A
1N/A/*
1N/A I'm moving towards the defined names in linux/if_ether.h for clarity.
1N/A The confusion between 60/64 and 1514/1518 arose because the NS8390
1N/A counts the 4 byte frame checksum in the incoming packet, but not
1N/A in the outgoing packet. 60/1514 are the correct numbers for most
1N/A if not all of the other NIC controllers.
1N/A*/
1N/A
1N/A#define ETH_ALEN 6 /* Size of Ethernet address */
1N/A#define ETH_HLEN 14 /* Size of ethernet header */
1N/A#define ETH_ZLEN 60 /* Minimum packet */
1N/A#define ETH_FRAME_LEN 1514 /* Maximum packet */
1N/A#define ETH_DATA_ALIGN 2 /* Amount needed to align the data after an ethernet header */
1N/A#ifndef ETH_MAX_MTU
1N/A#define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN)
1N/A#endif
1N/A
1N/A#endif /* _IF_ETHER_H */