OpenGrok
Cross Reference: if_nametoindex.c
xref
: /
src
/
lib
/
libc
/
net
/
if_nametoindex.c
Home
|
History
|
Annotate
|
Download
|
only in
net
History log of
/src/lib/libc/net/if_nametoindex.c
Revision
Date
Author
Comments
1.6
22-Aug-2018
msaitoh
- SIOCGIFINDEX was added in 2013, but if_freenameindex(3) have not used it
for years. Use it to improve performance. Same as FreeBSD.
- KNF.
1.5
01-Sep-2015
ozaki-r
branches: 1.5.8; 1.5.14; 1.5.16;
Fix rump.ndp -I options by rump-ifying if_nametoindex(3)
From s-yamaguchi@IIJ
1.4
24-Nov-2000
itojun
strictly conform to RFC2553 (specifically ENXIO case). sync with KAME
1.3
06-Jul-2000
christos
elide non-portable casts
1.2
24-Apr-2000
itojun
add __RCSID().
1.1
24-Apr-2000
itojun
use BSDI-origin if_{index,name}* functions. they use getifaddrs(3) as
backend and are more robust against SIOCGIFCONF alignment issue.
now getifaddrs always takes care of the issue. (sync with kame tree)
use weak symbol just in case.
1.5.16.1
10-Jun-2019
christos
Sync with HEAD
1.5.14.1
06-Sep-2018
pgoyette
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
1.5.8.1
05-Sep-2018
martin
Pull up following revision(s) (requested by msaitoh in ticket #1007):
lib/libc/net/if_nametoindex.c: revision 1.6
- SIOCGIFINDEX was added in 2013, but if_freenameindex(3) have not used it
for years. Use it to improve performance. Same as FreeBSD.
- KNF.
Indexes created Tue Oct 07 21:09:53 GMT 2025