Home
last modified time | relevance | path

Searched refs:address_family (Results 1 – 20 of 20) sorted by relevance

/system/connectivity/shill/cellular/
Dcellular_bearer.cc98 IPAddress::Family address_family, in GetIPConfigMethodAndProperties() argument
128 (*ipconfig_properties)->address_family = address_family; in GetIPConfigMethodAndProperties()
134 prefix = IPAddress::GetMaxPrefixLength(address_family); in GetIPConfigMethodAndProperties()
Dcellular_bearer.h88 IPAddress::Family address_family,
Dcellular_bearer_unittest.cc121 EXPECT_EQ(IPAddress::kFamilyIPv4, ipv4_config_properties->address_family); in VerifyStaticIPv4ConfigMethodAndProperties()
136 EXPECT_EQ(IPAddress::kFamilyIPv6, ipv6_config_properties->address_family); in VerifyStaticIPv6ConfigMethodAndProperties()
Dcellular_unittest.cc2118 ipconfig_properties->address_family = kAddressFamily; in TEST_F()
2140 EXPECT_EQ(kAddressFamily, device_->ipconfig()->properties().address_family); in TEST_F()
/system/connectivity/shill/
Dppp_device.cc86 properties.address_family = IPAddress::kFamilyIPv4; in ParseIPConfiguration()
88 properties.address_family); in ParseIPConfiguration()
106 size_t prefix = IPAddress::GetMaxPrefixLength(properties.address_family); in ParseIPConfiguration()
Drouting_table.cc199 IPAddress::Family address_family = ipconfig->properties().address_family; in ConfigureRoutes() local
207 IPAddress destination_address(address_family); in ConfigureRoutes()
208 IPAddress source_address(address_family); // Left as default. in ConfigureRoutes()
209 IPAddress gateway_address(address_family); in ConfigureRoutes()
223 IPAddress::GetPrefixLengthFromMask(address_family, route.netmask)); in ConfigureRoutes()
Dconnection.cc165 IPAddress gateway(properties.address_family); in UpdateFromIPConfig()
174 IPAddress trusted_ip(properties.address_family); in UpdateFromIPConfig()
201 IPAddress local(properties.address_family); in UpdateFromIPConfig()
208 IPAddress broadcast(properties.address_family); in UpdateFromIPConfig()
220 IPAddress peer(properties.address_family); in UpdateFromIPConfig()
Dipconfig.h52 Properties() : address_family(IPAddress::kFamilyUnknown), in Properties()
61 IPAddress::Family address_family; member
Dppp_device_unittest.cc61 EXPECT_EQ(IPAddress::kFamilyIPv4, props.address_family); in TEST()
Dstatic_ip_parameters.cc262 if (props->address_family == IPAddress::kFamilyUnknown) { in ApplyTo()
266 props->address_family = IPAddress::kFamilyIPv4; in ApplyTo()
Dconnection_unittest.cc108 properties_.address_family = IPAddress::kFamilyIPv4; in SetUp()
113 ipv6_properties_.address_family = IPAddress::kFamilyIPv6; in SetUp()
Ddevice.cc581 properties.address_family = IPAddress::kFamilyIPv6; in OnIPv6AddressChanged()
960 PrependDNSServers(properties.address_family, &servers); in PrependDNSServersIntoIPConfig()
Drouting_table_unittest.cc506 properties.address_family = IPAddress::kFamilyIPv4; in TEST_F()
Ddevice_unittest.cc1699 properties.address_family = IPAddress::kFamilyIPv4; in TEST_F()
/system/extras/multinetwork/
Dhttpurl.cpp140 int makeTcpSocket(sa_family_t address_family, net_handle_t nethandle) { in makeTcpSocket() argument
141 int fd = socket(address_family, SOCK_STREAM, IPPROTO_TCP); in makeTcpSocket()
/system/connectivity/shill/dhcp/
Ddhcpv6_config.cc148 properties_.address_family = IPAddress::kFamilyIPv6; in ParseConfiguration()
Ddhcpv4_config.cc342 properties->address_family = IPAddress::kFamilyIPv4; in ParseConfiguration()
/system/connectivity/shill/vpn/
Dthird_party_vpn_driver.cc322 ip_properties_.address_family = IPAddress::kFamilyIPv4; in SetParameters()
352 IPAddress address(ip_properties_.address_family); in SetParameters()
372 IPAddress ip_address(ip_properties_.address_family); in SetParameters()
Dopenvpn_driver.cc413 properties->address_family = IPAddress::kFamilyIPv4; in ParseIPConfiguration()
416 IPAddress::GetMaxPrefixLength(properties->address_family); in ParseIPConfiguration()
428 IPAddress::GetPrefixLengthFromMask(properties->address_family, value); in ParseIPConfiguration()
441 IPAddress::GetPrefixLengthFromMask(properties->address_family, in ParseIPConfiguration()
452 size_t prefix = IPAddress::GetMaxPrefixLength(properties->address_family); in ParseIPConfiguration()
Dopenvpn_driver_unittest.cc639 EXPECT_EQ(IPAddress::kFamilyIPv4, props.address_family); in TEST_F()
671 EXPECT_EQ(IPAddress::kFamilyIPv4, props.address_family); in TEST_F()