Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 1996 09:09:29 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: How would I find out the ethernet address of an interface?
Message-ID:  <199602070809.JAA04677@uriah.heep.sax.de>
In-Reply-To: <96Feb6.154425est.20483@janus.border.com> from "Jerry Kendall" at Feb 6, 96 03:34:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Jerry Kendall wrote:

> 'ifconfig -a' will tell you the address for all interfaces...
> 'ifconfig ep0' will tell you the address of the ep0 interface...
> 
> Get the picture??

> > I need a way of finding the ethernet address of the interface
> associated with > a socket in an LKM. Any pointers to where I'd
> start looking?

I thought he was rather asking how to obtain the address from inside
the kernel?!

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602070809.JAA04677>