[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linux + IPv6 + KDC ?

Arkadiusz Miskiewicz <misiek@pld.org.pl> writes:
> It's quite easy to get info about all interfaces via /proc fs.
> See http://www.misiek.eu.org/ipv6/postfix-19991231-pl02-ipv6-08022000.patch.gz
> for example.

Yes, but that's just for Linux and IPv6.  Have a separate way of
finding out the configured addresses for every operating system and
address family obviously does not scale.  The `de-facto' standard of
doing this on Unix is with ioctl SIOCGIFCONF, so either make sure that
works on Linux or doing a new (and good) generic way of doing this,
are good solutions to this.