public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic eui-64 addressing
@ 2001-10-25 19:02 Daniel Stodden
  0 siblings, 0 replies; only message in thread
From: Daniel Stodden @ 2001-10-25 19:02 UTC (permalink / raw)
  To: linux-kernel



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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-25 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-25 19:02 [PATCH] generic eui-64 addressing Daniel Stodden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox