Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 1996 13:37:08 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        msmith@atrad.adelaide.edu.au (Michael Smith)
Cc:        hackers@freebsd.org
Subject:   Re: Linux emulation, gethostid()
Message-ID:  <199610232037.NAA10355@phaeton.artisoft.com>
In-Reply-To: <199610230354.NAA23453@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Oct 23, 96 01:24:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> gethostid() under linux is implemeted using the SIOCGIFHWADDR ioctl
> to get a network hardware address.  We don't support this yet.
> 
> Netstat gets the hardware address by grubbing around in the kernel
> (what a frightening piece of code that is to read 8( ), but I also 
> recall someone posting wrt. getting mathematica to run with a "more
> correct" method.
> 
> Do we want an ioctl to get the hardware address?  If not, any
> suggestions on a _tidy_ way to get it?

Check the list archives.  The Mathematica "correct method" included
patches to implement the interface without the kernel grubbing.  I
am suprised that the patches were not integrated.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



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