public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Stodden <stodden@in.tum.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] generic eui-64 addressing
Date: 25 Oct 2001 21:02:31 +0200	[thread overview]
Message-ID: <87r8rr35mg.fsf@bitch.localnet> (raw)



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

                 reply	other threads:[~2001-10-25 19:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r8rr35mg.fsf@bitch.localnet \
    --to=stodden@in.tum.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox