Date: Wed, 17 Oct 2001 13:08:15 -0700 (PDT) From: Jonathan Lemon <jlemon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/net ifname.c Message-ID: <200110172008.f9HK8FI87597@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jlemon 2001/10/17 13:08:15 PDT
Modified files:
lib/libc/net ifname.c
Log:
Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index.
If the syscall fails, fall back on the old method as a compatability
measure.
Revision Changes Path
1.2 +22 -2 src/lib/libc/net/ifname.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110172008.f9HK8FI87597>
