OSDN Git Service

Query libnetd_client for the appropriate netId for host resolution.
authorPaul Jensen <pauljensen@google.com>
Thu, 15 May 2014 18:43:07 +0000 (14:43 -0400)
committerPaul Jensen <pauljensen@google.com>
Mon, 19 May 2014 11:23:12 +0000 (11:23 +0000)
commit559c7842cc6862568d9b5799fc0bcf74d58b596b
tree002df8bdcd98a057925002aeeee955660ef28b69
parentbf701a1a92937ee7caa01d2df05a1ecd641cade1
Query libnetd_client for the appropriate netId for host resolution.

If libnetd_client can't be found, operate as before and use the default netId
potentially overriden by a more specific netId passed in to
android_get*fornet().

Change-Id: I42ef3293172651870fb46d2de22464c4f03e8e0b
libc/bionic/NetdClient.cpp
libc/bionic/NetdClientDispatch.cpp
libc/dns/gethnamaddr.c
libc/dns/net/getaddrinfo.c
libc/private/NetdClient.h