Skip to contentSkip to conversation

generic eui-64 addressing

PATCH New Daniel Stodden 1 participant 1 message Oct 25, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic eui-64 addressing

hi.

i'm developing prototype modules[1] for a data link network using EUI-64[2] addressing.

what i'm missing are macros for hw type and address length from the kernel headers.

could someone please rewrite if_arp.h around the patch below? taken from iana values

plus: to make my world perfect, maybe a macro somewhat like

#define EUI64_ALEN 8

not sure where this might go into...

thanx,
dns

if_arp.h Thu Oct 25 20:46:24 2001 renamed from if_arp.h.orig Thu Oct 25 19:15:19 2001 +1 -0
@@ -39,6 +39,7 @@
 #define ARPHRD_ATM     19              /* ATM                          */
 #define ARPHRD_METRICOM        23              /* Metricom STRIP (new IANA id)*       /
 #define        ARPHRD_IEEE1394 24              /* IEEE 1394 IPv4 - RFC 2734   *       /
+#define ARPHRD_EUI64    27              /* EUI-64                       */
 
 /* Dummy types for non ARP hardware */
 #define ARPHRD_SLIP    256
Signature · 2 lines
___________________________________________________________________________
 mailto:[email protected]