/system/connectivity/shill/net/ |
D | ip_address_unittest.cc | 123 EXPECT_EQ(4, IPAddress::GetAddressLength(IPAddress::kFamilyIPv4)); in TEST_F() 126 EXPECT_EQ(0, IPAddress::GetPrefixLengthFromMask(IPAddress::kFamilyIPv4, in TEST_F() 128 EXPECT_EQ(20, IPAddress::GetPrefixLengthFromMask(IPAddress::kFamilyIPv4, in TEST_F() 130 EXPECT_EQ(32, IPAddress::GetPrefixLengthFromMask(IPAddress::kFamilyIPv4, in TEST_F() 132 EXPECT_EQ(32, IPAddress::GetPrefixLengthFromMask(IPAddress::kFamilyIPv4, in TEST_F() 134 EXPECT_EQ(32, IPAddress::GetPrefixLengthFromMask(IPAddress::kFamilyIPv4, in TEST_F() 137 IPAddress addr4(IPAddress::kFamilyIPv4); in TEST_F() 141 EXPECT_EQ(IPAddress::kFamilyIPv4, addr4.family()); in TEST_F() 160 TestAddress(IPAddress::kFamilyIPv4, in TEST_F() 173 IPAddress address(IPAddress::kFamilyIPv4); in TEST_F() [all …]
|
D | rtnl_message_unittest.cc | 598 IPAddress addr(IPAddress::kFamilyIPv4); in TEST_F() 646 IPAddress dst(IPAddress::kFamilyIPv4); in TEST_F() 647 IPAddress src(IPAddress::kFamilyIPv4); in TEST_F() 648 IPAddress gateway(IPAddress::kFamilyIPv4); in TEST_F() 656 IPAddress::kFamilyIPv4, in TEST_F() 692 IPAddress::kFamilyIPv4, in TEST_F() 703 IPAddress::kFamilyIPv4); in TEST_F() 709 IPAddress::kFamilyIPv4, in TEST_F() 720 IPAddress::kFamilyIPv4); in TEST_F() 721 IPAddress dst(IPAddress::kFamilyIPv4); in TEST_F() [all …]
|
D | ip_address.cc | 43 const IPAddress::Family IPAddress::kFamilyIPv4 = AF_INET; member in shill::IPAddress 72 family_ = IPAddress::kFamilyIPv4; in IPAddress() 84 if (address_struct->sa_family == kFamilyIPv4 && size >= sizeof(sockaddr_in)) { in IPAddress() 104 case kFamilyIPv4: in GetAddressLength() 119 if (family() != kFamilyIPv4) { in GetMinPrefixLength() 144 case kFamilyIPv4: { in GetPrefixLengthFromMask() 189 case kFamilyIPv4: in GetAddressFamilyName() 259 if (family_ == kFamilyIPv4 && size >= sizeof(sockaddr_in)) { in IntoSockAddr()
|
D | ip_address.h | 33 static const Family kFamilyIPv4; variable
|
/system/connectivity/shill/ |
D | connection_info_unittest.cc | 65 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 68 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 71 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 74 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 86 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 89 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 92 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 95 IPAddress(IPAddress::kFamilyIPv4, in TEST_F()
|
D | socket_info_unittest.cc | 50 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 53 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 66 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 69 IPAddress(IPAddress::kFamilyIPv4, in TEST_F() 81 IPAddress ip_address1(IPAddress::kFamilyIPv4, in TEST_F() 83 IPAddress ip_address2(IPAddress::kFamilyIPv4, in TEST_F() 85 IPAddress ip_address3(IPAddress::kFamilyIPv4, in TEST_F()
|
D | routing_table_unittest.cc | 293 IPAddress default_address(IPAddress::kFamilyIPv4); in TEST_F() 296 IPAddress gateway_address0(IPAddress::kFamilyIPv4); in TEST_F() 339 IPAddress gateway_address1(IPAddress::kFamilyIPv4); in TEST_F() 390 IPAddress::kFamilyIPv4, in TEST_F() 405 IPAddress::kFamilyIPv4, in TEST_F() 409 IPAddress gateway_address(IPAddress::kFamilyIPv4); in TEST_F() 427 IPAddress::kFamilyIPv4, in TEST_F() 455 IPAddress::kFamilyIPv4, in TEST_F() 478 IPAddress::kFamilyIPv4, in TEST_F() 506 properties.address_family = IPAddress::kFamilyIPv4; in TEST_F() [all …]
|
D | connection_diagnostics_unittest.cc | 160 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4LocalAddress.family()); in SetUp() 161 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4ServerAddress.family()); in SetUp() 162 ASSERT_EQ(IPAddress::kFamilyIPv4, kIPv4GatewayAddress.family()); in SetUp() 391 IPAddress(IPAddress::kFamilyIPv4)); in ExpectResolveTargetServerIPAddressEndTimeout() 396 IPAddress(IPAddress::kFamilyIPv4)); in ExpectResolveTargetServerIPAddressEndFailure() 473 IPAddress gateway(IPAddress::kFamilyIPv4); in ExpectFindRouteToHostEndSuccess() 914 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv4); in TEST_F() 949 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv4); in TEST_F() 982 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv4); in TEST_F() 986 ExpectResolveTargetServerIPAddressStartSuccess(IPAddress::kFamilyIPv4); in TEST_F() [all …]
|
D | connection_unittest.cc | 92 local_address_(IPAddress::kFamilyIPv4), in ConnectionTest() 93 broadcast_address_(IPAddress::kFamilyIPv4), in ConnectionTest() 94 gateway_address_(IPAddress::kFamilyIPv4), in ConnectionTest() 95 default_address_(IPAddress::kFamilyIPv4), in ConnectionTest() 108 properties_.address_family = IPAddress::kFamilyIPv4; in SetUp() 269 IPAddress::GetMaxPrefixLength(IPAddress::kFamilyIPv4) && 367 IPAddress address1(IPAddress::kFamilyIPv4); in TEST_F() 368 IPAddress address2(IPAddress::kFamilyIPv4); in TEST_F() 500 IPAddress peer_address(IPAddress::kFamilyIPv4); in TEST_F() 533 IPAddress gateway_address(IPAddress::kFamilyIPv4); in TEST_F() [all …]
|
D | ppp_device_unittest.cc | 61 EXPECT_EQ(IPAddress::kFamilyIPv4, props.address_family); in TEST() 62 EXPECT_EQ(IPAddress::GetMaxPrefixLength(IPAddress::kFamilyIPv4), in TEST()
|
D | mock_dns_client.cc | 30 : DNSClient(IPAddress::kFamilyIPv4, "", vector<string>(), 0, nullptr, in MockDNSClient()
|
D | arp_packet.cc | 86 family = IPAddress::kFamilyIPv4; in Parse() 145 if (family == IPAddress::kFamilyIPv4) { in FormatRequest()
|
D | socket_info_reader.cc | 155 IPAddress::GetAddressLength(IPAddress::kFamilyIPv4)) { in ParseIPAddress() 156 family = IPAddress::kFamilyIPv4; in ParseIPAddress()
|
D | icmp_unittest.cc | 157 icmp_.TransmitEchoRequest(IPAddress(IPAddress::kFamilyIPv4), 1, 1)); in TEST_F() 165 IPAddress ipv4_destination(IPAddress::kFamilyIPv4); in TEST_F()
|
D | connection_health_checker.cc | 116 IPAddress ip(IPAddress::kFamilyIPv4); in ConnectionHealthChecker() 153 dns_client_factory_->CreateDNSClient(IPAddress::kFamilyIPv4, in AddRemoteURL() 414 IPAddress local_ip_address(IPAddress::kFamilyIPv4); in GetSocketInfo()
|
D | ip_address_store_unittest.cc | 41 IPAddress ip_address(IPAddress::kFamilyIPv4); in StringToIPv4Address()
|
D | icmp_session_unittest.cc | 195 IPAddress ipv4_destination(IPAddress::kFamilyIPv4); in TEST_F() 236 IPAddress ipv4_destination(IPAddress::kFamilyIPv4); in TEST_F() 359 IPAddress ipv4_destination(IPAddress::kFamilyIPv4); in TEST_F() 426 IPAddress ipv4_destination(IPAddress::kFamilyIPv4); in TEST_F()
|
D | dns_server_tester.cc | 59 IPAddress::kFamilyIPv4, in DNSServerTester()
|
D | http_request.cc | 74 : IPAddress::kFamilyIPv4, in HTTPRequest() 110 IPAddress addr(IPAddress::kFamilyIPv4); in Start()
|
D | device_info_unittest.cc | 121 IPAddress address(IPAddress::kFamilyIPv4); in CreateInterfaceAddress() 231 IPAddress::kFamilyIPv4); in BuildLinkMessageWithInterfaceName() 778 IPAddress ip_address0(IPAddress::kFamilyIPv4); in TEST_F() 881 IPAddress address0(IPAddress::kFamilyIPv4); in TEST_F() 949 IPAddress address5(IPAddress::kFamilyIPv4); in TEST_F() 968 IPAddress address0(IPAddress::kFamilyIPv4); in TEST_F() 987 IPAddress address6(IPAddress::kFamilyIPv4); in TEST_F() 1000 IPAddress address5(IPAddress::kFamilyIPv4); in TEST_F() 1112 IPAddress address(IPAddress::kFamilyIPv4); in TEST_F() 1130 IPAddress empty_ipv4_address(IPAddress::kFamilyIPv4); in TEST_F() [all …]
|
D | icmp.cc | 74 if (destination.family() != IPAddress::kFamilyIPv4) { in TransmitEchoRequest()
|
D | dns_client_unittest.cc | 77 hostent_.h_addrtype = IPAddress::kFamilyIPv4; in DNSClientTest() 125 dns_client_.reset(new DNSClient(IPAddress::kFamilyIPv4, in CreateClient() 212 EXPECT_TRUE(dns_client_->address_.family() == IPAddress::kFamilyIPv4); in ExpectReset()
|
/system/connectivity/apmanager/ |
D | dhcp_server.cc | 57 server_address_(shill::IPAddress::kFamilyIPv4), in DHCPServer() 97 shill::IPAddress(shill::IPAddress::kFamilyIPv4)); in Start()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv4_config.cc | 293 IPAddress destination(IPAddress::kFamilyIPv4); in ParseClasslessStaticRoutes() 304 IPAddress gateway(IPAddress::kFamilyIPv4); in ParseClasslessStaticRoutes() 342 properties->address_family = IPAddress::kFamilyIPv4; in ParseConfiguration()
|
/system/connectivity/shill/vpn/ |
D | third_party_vpn_driver.cc | 192 if (IPAddress(parameters.at(key)).family() == IPAddress::kFamilyIPv4) { in ProcessIp() 215 if (IPAddress(*value).family() != IPAddress::kFamilyIPv4) { in ProcessIPArray() 238 IPAddress address(IPAddress::kFamilyIPv4); in ProcessIPArrayCIDR() 322 ip_properties_.address_family = IPAddress::kFamilyIPv4; in SetParameters()
|