Home
last modified time | relevance | path

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

/system/connectivity/shill/net/
Dip_address_unittest.cc147 IPAddress addr6(IPAddress::kFamilyIPv6); in TEST_F() local
148 addr6.SetAddressToDefault(); in TEST_F()
150 EXPECT_EQ(16, addr6.GetLength()); in TEST_F()
151 EXPECT_EQ(addr6.family(), IPAddress::kFamilyIPv6); in TEST_F()
152 EXPECT_TRUE(addr6.IsDefault()); in TEST_F()
153 EXPECT_TRUE(addr6.address().IsZero()); in TEST_F()
154 EXPECT_TRUE(addr6.address().Equals(ByteString(16))); in TEST_F()
156 EXPECT_FALSE(addr4.Equals(addr6)); in TEST_F()
/system/core/libsysutils/src/
DNetlinkEvent.cpp196 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); in parseIfAddrMessage() local
197 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { in parseIfAddrMessage()
202 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); in parseIfAddrMessage()