2001-10-25 19:02:19

by Daniel Stodden

[permalink] [raw]
Subject: [PATCH] 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.orig Thu Oct 25 19:15:19 2001
+++ if_arp.h Thu Oct 25 20:46:24 2001
@@ -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

--
___________________________________________________________________________
mailto:[email protected]