platform_bionic/libc/include/net
Elliott Hughes ed57b98758 Implement if_nameindex(3)/if_freenameindex(3).
This is just a subset of the recently-implemented getifaddrs(3), though if
we want to handle interfaces (such as "rmnet_*") that don't have an address,
we need to either expose ifaddrs_storage and keep track of which interfaces
we've already seen (which is pretty messy), or refactor the netlink code so
we can reuse it and just extract the information we need for if_nameindex(3).
This patch goes the latter route.

Also clean up if_nametoindex(3) and if_indextoname(3).

Change-Id: I5ffc5df0bab62286cdda2e7af06f032c767119a8
2016-01-18 12:07:38 -08:00
..
ethernet.h Fix <net/route.h>. 2014-12-15 18:47:14 -08:00
ethertypes.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if.h Implement if_nameindex(3)/if_freenameindex(3). 2016-01-18 12:07:38 -08:00
if_arp.h Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
if_ether.h added missing ether_aton and ether_ntoa 2010-08-25 08:46:23 -07:00
if_ieee1394.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_packet.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
if_types.h Sync <net/if_types.h> with upstream. 2014-12-09 15:03:51 -08:00
route.h Fix <net/route.h>. 2014-12-15 18:47:14 -08:00