On Sat, 16 Sep 2000, David Malone wrote:
> > It is possible to get interface lists on earlier versions (and I hope
> > still current versions) using the ioctl interfaces described in Stevens.
> > See also ifconfig.c source from various versions of FreeBSD :-).
>
> I think Garret suggested that the ioctl method was deprecated?
That said, the ioctl() method is probably also portable across platforms.
Recommending the deprecating quasi-standard interfaces in favor of local
interfaces for third-party application writers would probably be a
mistake. Where it's not possible to perform the function with the
portable API, fine, of course. :-)
Robert N M Watson
[EMAIL PROTECTED] http://www.watson.org/~robert/
PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1
TIS Labs at Network Associates, Safeport Network Services
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message