[PATCH] generic eui-64 addressing

Daniel Stodden (stodden@in.tum.de)
25 Oct 2001 21:02:31 +0200


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:stodden@in.tum.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/