Home
last modified time | relevance | path

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

/system/netd/client/
DNetdClientTest.cpp95 unsigned dnsNetId = 0; in TEST() local
97 EXPECT_EQ(-EBADF, getNetworkForDnsInternal(invalidFd, &dnsNetId)); in TEST()
105 EXPECT_EQ(-EOPNOTSUPP, getNetworkForDnsInternal(clientFd.get(), &dnsNetId)); in TEST()
Dnetdclient_priv.h20 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId);
DNetdClient.cpp613 extern "C" int getNetworkForDns(unsigned* dnsNetId) { in getNetworkForDns() argument
614 if (dnsNetId == nullptr) return -EFAULT; in getNetworkForDns()
620 return getNetworkForDnsInternal(fd, dnsNetId); in getNetworkForDns()
623 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId) { in getNetworkForDnsInternal() argument
654 *dnsNetId = result; in getNetworkForDnsInternal()
/system/netd/include/
DNetdClient.h61 int getNetworkForDns(unsigned* dnsNetId);