1 #ifndef _IPXE_IF_ETHER_H 2 #define _IPXE_IF_ETHER_H 11 #define ETH_FRAME_LEN 1514 12 #define ETH_DATA_ALIGN 2 14 #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN) 17 #define ETH_P_RAW 0x0000 18 #define ETH_P_IP 0x0800 19 #define ETH_P_ARP 0x0806 20 #define ETH_P_RARP 0x8035 21 #define ETH_P_8021Q 0x8100 22 #define ETH_P_IPV6 0x86DD 23 #define ETH_P_SLOW 0x8809 24 #define ETH_P_EAPOL 0x888E 25 #define ETH_P_AOE 0x88A2 26 #define ETH_P_LLDP 0x88CC 27 #define ETH_P_FCOE 0x8906 28 #define ETH_P_FIP 0x8914 uint16_t h_protocol
Protocol ID.
struct ethhdr __attribute__((packed))
uint8_t h_dest[ETH_ALEN]
Destination MAC address.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
uint8_t h_source[ETH_ALEN]
Source MAC address.
An Ethernet link-layer header.