bionic/libc/dns/net
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
..
base64.c Moved nameser.h and namser_compat.h to public include dir 2014-03-04 15:07:07 +00:00
getaddrinfo.c Pass around struct android_net_context for better behaviour 2015-06-29 18:39:54 +09:00
gethnamaddr.c Move gethtnamaddr.c to net/ subdirectory. 2014-12-19 17:29:04 -08:00
getnameinfo.c Clean up DNS proxying. 2014-12-10 17:14:02 -08:00
getservbyname.c Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3). 2014-10-22 22:23:10 -07:00
getservbyport.c Fix all resolv warnings and turn on -Werror. 2014-07-02 16:27:20 -07:00
getservent.c Add missing includes. 2015-01-28 19:23:11 -08:00
nsdispatch.c Support gethostbyname_r_ERANGE. 2014-12-19 14:11:29 -08:00
servent.h Renamed the misleading libc/netbsd directory to libc/dns. 2014-02-28 16:31:04 +00:00
services.h Regenerate "services.h" from /etc/services. 2014-08-20 12:11:31 -07:00
sethostent.c Support gethostbyname_r_ERANGE. 2014-12-19 14:11:29 -08:00