diff options
author | Michael Brown | 2006-04-19 14:07:46 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-19 14:07:46 +0200 |
commit | 6209bd873a075f01d43d58c67068a215d27c2d45 (patch) | |
tree | cffa8390bfd3e2ac7460bc43eb6443bc782bc40a /src/include/gpxe/if_ether.h | |
parent | Remove the concept of the media-independent link-layer header and replace (diff) | |
download | ipxe-6209bd873a075f01d43d58c67068a215d27c2d45.tar.gz ipxe-6209bd873a075f01d43d58c67068a215d27c2d45.tar.xz ipxe-6209bd873a075f01d43d58c67068a215d27c2d45.zip |
First sketch of a new net device API.
Diffstat (limited to 'src/include/gpxe/if_ether.h')
-rw-r--r-- | src/include/gpxe/if_ether.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/gpxe/if_ether.h b/src/include/gpxe/if_ether.h index 7f0abacb..f199220f 100644 --- a/src/include/gpxe/if_ether.h +++ b/src/include/gpxe/if_ether.h @@ -12,11 +12,12 @@ #define ETH_MAX_MTU (ETH_FRAME_LEN-ETH_HLEN) #endif -#define ETH_P_IP 0x0800 /* Internet Protocl Packet */ -#define ETH_P_ARP 0x0806 /* Address Resolution Protocol */ -#define ETH_P_RARP 0x8035 /* Reverse Address resolution Protocol */ -#define ETH_P_IPV6 0x86DD /* IPv6 over blueblook */ -#define ETH_P_SLOW 0x8809 /* Ethernet slow protocols */ +#define ETH_P_RAW 0x0000 /* Raw packet */ +#define ETH_P_IP 0x0800 /* Internet Protocl Packet */ +#define ETH_P_ARP 0x0806 /* Address Resolution Protocol */ +#define ETH_P_RARP 0x8035 /* Reverse Address resolution Protocol */ +#define ETH_P_IPV6 0x86DD /* IPv6 over blueblook */ +#define ETH_P_SLOW 0x8809 /* Ethernet slow protocols */ /** An Ethernet link-layer header */ struct ethhdr { |