SUMMARY Solaris - le interface name -> address mapping

Niall O Broin (nobroin@esoc.esa.de)
Tue, 27 May 1997 16:27:40 +0000 (GMT)

Well, as usual the list comes up trumps. Casper was first off the blocks
with the correct answer, which is basically to use ioctl on a socket and
he also informed me that the door_* stuff is only for gethostbyaddr().

However, as Casper's answer required me to do some work, the bouquet goes
this time to Michael Gordon of Edinburgh University, who provided the
requested half a dozen lines of C code (actually 70 lines which basically
is a rewrite of ifconfig -a). Due to its length, I'll save everyone's
bandwidth by not posting it. If you need it, mail me. If I get a lot of
individual requests, I'll summarise again and include the code.

Kindest regards,

Niall O Broin

UNIX Network Administrator nobroin@esoc.esa.de
Ground Systems Engineering Department Ph./Fax +49 6151 90 3619/2179
European Space Operations Centre, Darmstadt, Germany