Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/tnc/
Dmain.cpp25 bool resolve(const char* name, const char* port, struct addrinfo** addrs) { in resolve() argument
31 int res = ::getaddrinfo(name, port, &hints, addrs); in resolve()
40 int runClient(struct addrinfo* addrs) { in runClient() argument
42 for (struct addrinfo* addr = addrs; addr != nullptr; addr = addr->ai_next) { in runClient()
52 ::freeaddrinfo(addrs); in runClient()
66 int runServer(struct addrinfo* addrs) { in runServer() argument
68 for (struct addrinfo* addr = addrs; addr != nullptr; addr = addr->ai_next) { in runServer()
78 ::freeaddrinfo(addrs); in runServer()
196 struct addrinfo* addrs = nullptr; in main() local
202 if (!resolve(argv[2], argv[3], &addrs)) { in main()
[all …]
/device/generic/goldfish/radio/ril/
Dipv6_monitor.cpp438 auto addrs = reinterpret_cast<const in6_addr*>(addrLoc); in onReadAvailable() local
441 dnsServers.push_back(addrs[i]); in onReadAvailable()