Home
last modified time | relevance | path

Searched refs:servname (Results 1 – 4 of 4) sorted by relevance

/system/netd/resolv/
Dgetaddrinfo.cpp258 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints, in getaddrinfo_numeric() argument
268 return android_getaddrinfofornetcontext(hostname, servname, &hints, &netcontext, result); in getaddrinfo_numeric()
271 int android_getaddrinfofornetcontext(const char* hostname, const char* servname, in android_getaddrinfofornetcontext() argument
297 if (hostname == NULL && servname == NULL) { in android_getaddrinfofornetcontext()
348 error = get_portmatch(&tmp, servname); in android_getaddrinfofornetcontext()
369 error = explore_null(&tmp, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
371 error = explore_numeric_scope(&tmp, hostname, servname, &cur->ai_next); in android_getaddrinfofornetcontext()
416 error = explore_fqdn(&tmp, hostname, servname, &cur->ai_next, netcontext); in android_getaddrinfofornetcontext()
438 static int explore_fqdn(const struct addrinfo* pai, const char* hostname, const char* servname, in explore_fqdn() argument
451 if (get_portmatch(pai, servname) != 0) return 0; in explore_fqdn()
[all …]
Dlibnetd_resolv_test.cpp260 const char* servname; in TEST_F() member
265 servname ? servname : "(null)"); in TEST_F()
323 int rv = android_getaddrinfofornetcontext("localhost", config.servname, &hints, in TEST_F()
Dresolv_private.h231 int getaddrinfo_numeric(const char* hostname, const char* servname, addrinfo hints,
Dresolver_test.cpp74 extern "C" int android_getaddrinfofornet(const char* hostname, const char* servname,