Procházet zdrojové kódy

Infinband requires longer link-layer addresses and headers than Ethernet.

tags/v0.9.3
Michael Brown před 17 roky
rodič
revize
5793dbe96f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2
    2
      src/include/gpxe/netdevice.h

+ 2
- 2
src/include/gpxe/netdevice.h Zobrazit soubor

@@ -19,10 +19,10 @@ struct ll_protocol;
19 19
 struct device;
20 20
 
21 21
 /** Maximum length of a link-layer address */
22
-#define MAX_LL_ADDR_LEN 6
22
+#define MAX_LL_ADDR_LEN 20
23 23
 
24 24
 /** Maximum length of a link-layer header */
25
-#define MAX_LL_HEADER_LEN 16
25
+#define MAX_LL_HEADER_LEN 32
26 26
 
27 27
 /** Maximum length of a network-layer address */
28 28
 #define MAX_NET_ADDR_LEN 4

Načítá se…
Zrušit
Uložit