Home
last modified time | relevance | path

Searched refs:kFamilyIPv6 (Results 1 – 25 of 30) sorted by relevance

12

/system/connectivity/shill/net/
Dip_address_unittest.cc93 if (family == IPAddress::kFamilyIPv6) { in TestAddress()
124 EXPECT_EQ(16, IPAddress::GetAddressLength(IPAddress::kFamilyIPv6)); in TEST_F()
147 IPAddress addr6(IPAddress::kFamilyIPv6); in TEST_F()
151 EXPECT_EQ(addr6.family(), IPAddress::kFamilyIPv6); in TEST_F()
167 TestAddress(IPAddress::kFamilyIPv6, in TEST_F()
252 PrefixMapping(IPAddress::kFamilyIPv6, 0, "0::"),
253 PrefixMapping(IPAddress::kFamilyIPv6, 1, "8000::"),
254 PrefixMapping(IPAddress::kFamilyIPv6, 17, "ffff:8000::"),
255 PrefixMapping(IPAddress::kFamilyIPv6, 34, "ffff:ffff:c000::"),
256 PrefixMapping(IPAddress::kFamilyIPv6, 51, "ffff:ffff:ffff:e000::"),
[all …]
Dip_address.cc45 const IPAddress::Family IPAddress::kFamilyIPv6 = AF_INET6; member in shill::IPAddress
74 family_ = IPAddress::kFamilyIPv6; in IPAddress()
90 } else if (address_struct->sa_family == kFamilyIPv6 && in IPAddress()
106 case kFamilyIPv6: in GetAddressLength()
153 case kFamilyIPv6: in GetPrefixLengthFromMask()
191 case kFamilyIPv6: in GetAddressFamilyName()
262 } else if (family_ == kFamilyIPv6 && size >= sizeof(sockaddr_in6)) { in IntoSockAddr()
Drtnl_message_unittest.cc610 IPAddress addr(IPAddress::kFamilyIPv6); in TEST_F()
622 IPAddress dst(IPAddress::kFamilyIPv6); in TEST_F()
623 IPAddress src(IPAddress::kFamilyIPv6); in TEST_F()
624 IPAddress gateway(IPAddress::kFamilyIPv6); in TEST_F()
633 IPAddress::kFamilyIPv6, in TEST_F()
Dip_address.h34 static const Family kFamilyIPv6; variable
Drtnl_message.cc241 if (family_ != IPAddress::kFamilyIPv6) { in DecodeNdUserOption()
284 const int addr_length = IPAddress::GetAddressLength(IPAddress::kFamilyIPv6); in ParseRdnssOption()
295 IPAddress(IPAddress::kFamilyIPv6, in ParseRdnssOption()
/system/connectivity/shill/
Dasync_connection.cc56 if (address.family() == IPAddress::kFamilyIPv6) { in Start()
142 } else if (address.family() == IPAddress::kFamilyIPv6) { in ConnectTo()
Darp_packet.cc88 family = IPAddress::kFamilyIPv6; in Parse()
147 } else if (family == IPAddress::kFamilyIPv6) { in FormatRequest()
Ddevice_info_unittest.cc270 IPAddress::kFamilyIPv6); in BuildRdnssMessage()
794 IPAddress ip_address1(IPAddress::kFamilyIPv6); in TEST_F()
838 IPAddress address1(IPAddress::kFamilyIPv6); in TEST_F()
846 IPAddress address2(IPAddress::kFamilyIPv6); in TEST_F()
853 IPAddress address3(IPAddress::kFamilyIPv6); in TEST_F()
860 IPAddress address4(IPAddress::kFamilyIPv6); in TEST_F()
893 IPAddress address1(IPAddress::kFamilyIPv6); in TEST_F()
902 IPAddress address2(IPAddress::kFamilyIPv6); in TEST_F()
910 IPAddress address3(IPAddress::kFamilyIPv6); in TEST_F()
933 IPAddress address4(IPAddress::kFamilyIPv6); in TEST_F()
[all …]
Dsocket_info_reader.cc158 IPAddress::GetAddressLength(IPAddress::kFamilyIPv6)) { in ParseIPAddress()
159 family = IPAddress::kFamilyIPv6; in ParseIPAddress()
Dconnection_diagnostics_unittest.cc163 ASSERT_EQ(IPAddress::kFamilyIPv6, kIPv6ServerAddress.family()); in SetUp()
164 ASSERT_EQ(IPAddress::kFamilyIPv6, kIPv6GatewayAddress.family()); in SetUp()
370 .WillOnce(Return(family == IPAddress::kFamilyIPv6)); in ExpectResolveTargetServerIPAddressStartSuccess()
533 connection_->interface_index(), IPAddress::kFamilyIPv6); in ExpectNeighborTableLookupEndSuccess()
807 IPAddress::kFamilyIPv6); in ExpectNeighborTableLookupEndFailure()
1157 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv6); in TEST_F()
1369 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv6); in TEST_F()
1395 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv6); in TEST_F()
1418 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv6); in TEST_F()
1444 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv6); in TEST_F()
Dhttp_request.cc73 new DNSClient(connection->IsIPv6() ? IPAddress::kFamilyIPv6 in HTTPRequest()
112 addr.set_family(IPAddress::kFamilyIPv6); in Start()
Ddevice.cc327 SetIPFlag(IPAddress::kFamilyIPv6, kIPFlagDisableIPv6, "1"); in DisableIPv6()
337 SetIPFlag(IPAddress::kFamilyIPv6, kIPFlagDisableIPv6, "0"); in EnableIPv6()
341 SetIPFlag(IPAddress::kFamilyIPv6, kIPFlagUseTempAddr, in EnableIPv6Privacy()
554 IPAddress address(IPAddress::kFamilyIPv6); in OnIPv6AddressChanged()
581 properties.address_family = IPAddress::kFamilyIPv6; in OnIPv6AddressChanged()
586 PrependDNSServers(IPAddress::kFamilyIPv6, &properties.dns_servers); in OnIPv6AddressChanged()
628 PrependDNSServers(IPAddress::kFamilyIPv6, &addresses_str); in OnIPv6DnsServerAddressesChanged()
1210 } else if (family == IPAddress::kFamilyIPv6) { in SetIPFlag()
Darp_packet_unittest.cc54 ipv6_address0_(IPAddress::kFamilyIPv6), in ArpPacketTest()
55 ipv6_address1_(IPAddress::kFamilyIPv6), in ArpPacketTest()
Dasync_connection_unittest.cc59 ipv6_address_(IPAddress::kFamilyIPv6) { } in AsyncConnectionTest()
216 IPAddress arg_addr(IPAddress::kFamilyIPv6,
Dconnection_info_reader.cc198 IPAddress ipv6_address(IPAddress::kFamilyIPv6); in ParseIPAddress()
Dicmp_unittest.cc160 IPAddress ipv6_destination(IPAddress::kFamilyIPv6); in TEST_F()
Dconnection.cc265 IPAddress::kFamilyIPv6, in UpdateFromIPConfig()
711 return local_.family() == IPAddress::kFamilyIPv6; in IsIPv6()
Drouting_table_unittest.cc396 IPAddress::kFamilyIPv6, in TEST_F()
846 IPAddress::kFamilyIPv6, in TEST_F()
850 IPAddress::kFamilyIPv6, in TEST_F()
Dconnection_info_reader_unittest.cc67 IPAddress ip_address(IPAddress::kFamilyIPv6); in StringToIPv6Address()
Ddevice_unittest.cc512 EXPECT_CALL(*device_, SetIPFlag(IPAddress::kFamilyIPv6, in TEST_F()
1311 IPAddress address0(IPAddress::kFamilyIPv6); in TEST_F()
1338 IPAddress address1(IPAddress::kFamilyIPv6); in TEST_F()
1444 IPAddress ipv6_address1(IPAddress::kFamilyIPv6); in TEST_F()
1445 IPAddress ipv6_address2(IPAddress::kFamilyIPv6); in TEST_F()
1473 IPAddress address3(IPAddress::kFamilyIPv6); in TEST_F()
1576 IPAddress address1(IPAddress::kFamilyIPv6); in TEST_F()
1595 IPAddress address2(IPAddress::kFamilyIPv6); in TEST_F()
1726 IPAddress::kFamilyIPv6)).WillOnce(Return(kOutputServers)); in TEST_F()
Dconnection_diagnostics.cc351 connection_->IsIPv6() ? IPAddress::kFamilyIPv6 : IPAddress::kFamilyIPv4, in ResolveTargetServerIPAddress()
505 if (address.family() != IPAddress::kFamilyIPv6) { in FindNeighborTableEntry()
Dconnection_unittest.cc96 local_ipv6_address_(IPAddress::kFamilyIPv6) {} in ConnectionTest()
113 ipv6_properties_.address_family = IPAddress::kFamilyIPv6; in SetUp()
783 IPAddress::kFamilyIPv6, in TEST_F()
/system/connectivity/shill/dhcp/
Ddhcpv6_config.cc148 properties_.address_family = IPAddress::kFamilyIPv6; in ParseConfiguration()
/system/connectivity/shill/cellular/
Dcellular_bearer.cc214 IPAddress::kFamilyIPv6, in OnPropertiesChanged()
Dcellular_bearer_unittest.cc136 EXPECT_EQ(IPAddress::kFamilyIPv6, ipv6_config_properties->address_family); in VerifyStaticIPv6ConfigMethodAndProperties()

12