Home | History | Annotate | Download | only in base

Lines Matching refs:IPIsPrivate

109       (IPIsPrivate(addr) != IPIsPrivate(addr2)) ||
169 EXPECT_FALSE(IPIsPrivate(addr));
184 EXPECT_FALSE(IPIsPrivate(addr));
193 EXPECT_TRUE(IPIsPrivate(addr));
202 EXPECT_TRUE(IPIsPrivate(addr));
211 EXPECT_FALSE(IPIsPrivate(addr));
221 EXPECT_FALSE(IPIsPrivate(addr));
229 EXPECT_TRUE(IPIsPrivate(addr));
237 EXPECT_TRUE(IPIsPrivate(addr));
245 EXPECT_FALSE(IPIsPrivate(addr));
255 EXPECT_FALSE(IPIsPrivate(addr));
263 EXPECT_TRUE(IPIsPrivate(addr));
271 EXPECT_TRUE(IPIsPrivate(addr));
279 EXPECT_FALSE(IPIsPrivate(addr));
543 EXPECT_FALSE(IPIsPrivate(IPAddress(INADDR_ANY)));
544 EXPECT_FALSE(IPIsPrivate(IPAddress(kIPv4PublicAddr)));
545 EXPECT_FALSE(IPIsPrivate(IPAddress(in6addr_any)));
546 EXPECT_FALSE(IPIsPrivate(IPAddress(kIPv6PublicAddr)));
547 EXPECT_FALSE(IPIsPrivate(IPAddress(kIPv4MappedAnyAddr)));
548 EXPECT_FALSE(IPIsPrivate(IPAddress(kIPv4MappedPublicAddr)));
550 EXPECT_TRUE(IPIsPrivate(IPAddress(kIPv4RFC1918Addr)));
551 EXPECT_TRUE(IPIsPrivate(IPAddress(INADDR_LOOPBACK)));
552 EXPECT_TRUE(IPIsPrivate(IPAddress(in6addr_loopback)));
553 EXPECT_TRUE(IPIsPrivate(IPAddress(kIPv6LinkLocalAddr)));