summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-09-21 02:23:57 +0200
committerMichael Brown2007-09-21 02:23:57 +0200
commit5793dbe96fc94abe48cfb3303776215f345ccab4 (patch)
tree5ac50f62694209b7a6b4847dee4760dcbb819256 /src/include
parentAdded defines for Infiniband files (which can't be committed to the (diff)
downloadipxe-5793dbe96fc94abe48cfb3303776215f345ccab4.tar.gz
ipxe-5793dbe96fc94abe48cfb3303776215f345ccab4.tar.xz
ipxe-5793dbe96fc94abe48cfb3303776215f345ccab4.zip
Infinband requires longer link-layer addresses and headers than Ethernet.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/netdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h
index d82c6d8f..2cbd0efb 100644
--- a/src/include/gpxe/netdevice.h
+++ b/src/include/gpxe/netdevice.h
@@ -19,10 +19,10 @@ struct ll_protocol;
struct device;
/** Maximum length of a link-layer address */
-#define MAX_LL_ADDR_LEN 6
+#define MAX_LL_ADDR_LEN 20
/** Maximum length of a link-layer header */
-#define MAX_LL_HEADER_LEN 16
+#define MAX_LL_HEADER_LEN 32
/** Maximum length of a network-layer address */
#define MAX_NET_ADDR_LEN 4