Subject: Re: setting ethernet interface hardware address?
To: Alfred Perlstein <email@example.com>
From: Kyunghwan KIM <firstname.lastname@example.org>
Date: 10/17/2001 13:02:38
On Tue, Oct 16, 2001 at 06:29:06PM -0500, Alfred Perlstein wrote:
> Most likely I would be porting the FreeBSD system which is the
> SIOCLLADDR interface. If there's something particularly gross
> about it please speak up as soon as possible.
SIOCGIFLLADDR exactly. :)
> Main reasons for choosing it are that I can port most of the FreeBSD
> implementations pretty trivially as well as adding some source
> level compatiblity. Linux seems to have some other interface for
> doing this and having three distinct names is worse than two. :)
It was really easy to port SIOCGIFLLADDR written by Bill Paul
into OpenBSD. Maybe it will be also easy because network things are
similar between OpenBSD and NetBSD.
I've done it in OpenBSD. See OpenBSD PR/2117, 2118.