summaryrefslogtreecommitdiff
path: root/libc/inet/if_index.c
AgeCommit message (Collapse)Author
2006-01-06as weber notes in Bug 99:Mike Frysinger
if_nameindex doesnt list all of my interfaces! this is because we are still using the old style ioctl(SIOCGIFINDEX) for gathering interface names/indexes. while this code is pretty small, the kernel does not return all interfaces via this method. so we import the new style netlink code from glibc and make it optional so those people who need the full functionality can get it.
2006-01-06create __if_nametoindex hidden alias and use itMike Frysinger
2006-01-06rework the alloca() loop slightly to save some spaceMike Frysinger
2006-01-06sync with glibcMike Frysinger