From owner-freebsd-hackers Wed Feb 7 06:49:37 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id GAA03450 for hackers-outgoing; Wed, 7 Feb 1996 06:49:37 -0800 (PST) Received: from border.com (ns.border.com [199.71.190.98]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id GAA03445 for ; Wed, 7 Feb 1996 06:49:35 -0800 (PST) Received: by janus.border.com id <20488>; Wed, 7 Feb 1996 09:59:26 -0500 Date: Wed, 7 Feb 1996 09:49:14 -0500 From: Jerry Kendall To: J Wunsch Cc: FreeBSD hackers Subject: Re: How would I find out the ethernet address of an interface? In-Reply-To: <199602070809.JAA04677@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <96Feb7.095926est.20488@janus.border.com> Sender: owner-hackers@FreeBSD.ORG Precedence: bulk Sorry, did'nt see the LKM below.... I must have been asleep.... On Wed, 7 Feb 1996, J Wunsch wrote: > > 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. ;-) > -------------------------------------------------------------------------------- Any comments or opinions in this message are my own and may or may not reflect the comments or opinions of my present or previous employers. Jerry Kendall Border Network Technologies Inc. System Software Engineer Tel +1-416-368-7157 ext 303 jerry@border.com Fax +1-416-368-7178