platform_bionic/libc/dns/include
Erik Kline 01e37c9665 Pass around struct android_net_context for better behaviour
Group network context elements in to a single struct and
add a version of android_getaddrinfofornet() that accepts it.

The introduction of UID-based routing means that the UID is an
integral part of the network context when evaluating connectivity,
sorting addresses, etc.

Also, introduce a distinction between DNS netids/marks and those
expected to be used by the application.  This can be important
when the network an application is using is not the same as the
network on which DNS queries will be issued.

Additionally, de-duplicate the UDP connect logic (collapse both
_test_connect() and _find_src_addr() into just the latter).

Bug: 19470192
Bug: 20733156
Bug: 21832279
Change-Id: If16c2f4744695f507993afdac078ca105eb5d3e4
2015-06-29 18:39:54 +09:00
..
hostent.h Sync with upstream for gethnamaddr.c. 2014-12-17 16:19:27 -08:00
resolv_cache.h Add support for deleting per-network DNS resolver caches. 2014-05-14 04:16:18 -07:00
resolv_netid.h Pass around struct android_net_context for better behaviour 2015-06-29 18:39:54 +09:00
resolv_private.h Define MAXHOSTNAMELEN explicitly in source files. 2015-02-09 19:56:47 -08:00
resolv_static.h Moved private dns header to their own dir. 2014-03-03 20:40:41 +00:00