Searched refs:dnsNetId (Results 1 – 4 of 4) sorted by relevance
95 unsigned dnsNetId = 0; in TEST() local97 EXPECT_EQ(-EBADF, getNetworkForDnsInternal(invalidFd, &dnsNetId)); in TEST()105 EXPECT_EQ(-EOPNOTSUPP, getNetworkForDnsInternal(clientFd.get(), &dnsNetId)); in TEST()
20 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId);
613 extern "C" int getNetworkForDns(unsigned* dnsNetId) { in getNetworkForDns() argument614 if (dnsNetId == nullptr) return -EFAULT; in getNetworkForDns()620 return getNetworkForDnsInternal(fd, dnsNetId); in getNetworkForDns()623 int getNetworkForDnsInternal(int fd, unsigned* dnsNetId) { in getNetworkForDnsInternal() argument654 *dnsNetId = result; in getNetworkForDnsInternal()
61 int getNetworkForDns(unsigned* dnsNetId);