summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/if_nameindex.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate some gcc warnings about 'unused variables', mostly bykrw2016-12-161-2/+2
| | | | | | adding appropriate #ifdef's around declarations. ok millert@ (with a tweak I will commit separately)
* Nuke some trailing tabs.krw2016-12-151-3/+3
|
* Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get theclaudio2015-10-231-47/+46
| | | | | | | | list of interface names. At the same time switch if_nametoindex(3) and if_indextoname(3) to use if_nameindex(3) instead of getifaddrs(3). if_nameindex(3) exposes much less then getifaddrs(3) and is allowed by pledge(2). With and OK deraadt@
* Implement if_freenameindex() as a real function as required by posix.claudio2010-09-241-1/+7
| | | | OK deraadt@, millert@
* Replace SIOCGIFCONF-using NRL versions with KAME versions that usemillert2002-03-071-130/+103
| | | | getifaddrs(3). Fixes problems on LP64 platforms.
* skip sockaddr correctly if sa_len < sockaddr. from niklasitojun2002-02-251-0/+3
|
* repair copyright notices for NRL & cmetz; cmetzderaadt2001-06-051-1/+0
|
* Wallderaadt2000-08-221-1/+1
|
* use SIOCGIFCONF much more carefullyderaadt1999-07-081-14/+34
|
* indent and auditderaadt1999-07-011-115/+92
|
* Compilation fixes.cmetz1999-06-231-2/+2
|
* Removed portability ifdefs and calls to nonstandard back-end.cmetz1999-06-231-57/+13
|
* Added some protocol independent interfaces (supposedly IPv6 support APIs, butcmetz1999-06-231-0/+212
ones that are useful for all protocols, not just IPv6).