summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/if_ether.h
diff options
context:
space:
mode:
authorMichael Brown2006-04-19 14:07:46 +0200
committerMichael Brown2006-04-19 14:07:46 +0200
commit6209bd873a075f01d43d58c67068a215d27c2d45 (patch)
treecffa8390bfd3e2ac7460bc43eb6443bc782bc40a /src/include/gpxe/if_ether.h
parentRemove the concept of the media-independent link-layer header and replace (diff)
downloadipxe-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.h11
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 {