Lines Matching refs:addrs
40 ifaddrs* addrs = nullptr; in TEST() local
42 ASSERT_EQ(0, getifaddrs(&addrs)); in TEST()
43 ASSERT_TRUE(addrs != nullptr); in TEST()
48 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()
71 freeifaddrs(addrs); in TEST()
78 ifaddrs* addrs; in TEST() local
79 ASSERT_EQ(0, getifaddrs(&addrs)); in TEST()
81 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()
91 freeifaddrs(addrs); in TEST()
111 const std::set<in_addr_t>& addrs) { in CheckAddressIsInSet() argument
133 EXPECT_TRUE(addrs.find(addr) != addrs.end()) << if_name << ' ' << std::hex << ntohl(addr); in CheckAddressIsInSet()
141 ifaddrs* addrs; in TEST() local
142 ASSERT_EQ(0, getifaddrs(&addrs)); in TEST()
143 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()
153 freeifaddrs(addrs); in TEST()
224 ifaddrs* addrs; in TEST() local
225 ASSERT_EQ(0, getifaddrs(&addrs)); in TEST()
227 for (ifaddrs* ifa = addrs; ifa != nullptr; ifa = ifa->ifa_next) { in TEST()
250 freeifaddrs(addrs); in TEST()
254 ifaddrs* addrs; in TEST() local
255 ASSERT_EQ(0, getifaddrs(&addrs)); in TEST()
257 for (ifaddrs* ifa = addrs; ifa != nullptr; ifa = ifa->ifa_next) { in TEST()
268 freeifaddrs(addrs); in TEST()