summaryrefslogtreecommitdiffstats
path: root/lib/libc/hidden/net
AgeCommit message (Collapse)AuthorFilesLines
2015-10-23Switch if_nameindex(3) to use the new NET_RT_IFNAMES sysctl to get theclaudio1-3/+3
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@
2015-09-14Wrap <net/if.h> and <net/if_dl.h> so internal calls go direct and all theguenther2-0/+53
symbols are weak