SUMMARY Solaris - le interface name -> address mapping

From: Niall O Broin (nobroin@esoc.esa.de)
Date: Tue May 27 1997 - 11:27:40 CDT


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



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:55 CDT