Searched refs:subnet_prefix (Results 1 – 19 of 19) sorted by relevance
/system/connectivity/shill/net/ |
D | ip_address.cc | 146 int subnet_prefix = 0; in GetPrefixLengthFromMask() local 148 subnet_prefix++; in GetPrefixLengthFromMask() 151 return subnet_prefix; in GetPrefixLengthFromMask()
|
/system/connectivity/shill/ |
D | ipconfig.h | 53 subnet_prefix(0), in Properties() 63 int32_t subnet_prefix; member
|
D | ipconfig_unittest.cc | 105 EXPECT_EQ(properties.subnet_prefix, ipconfig_->properties().subnet_prefix); in ExpectPropertiesEqual() 156 properties.subnet_prefix = 24; in TEST_F()
|
D | ppp_device_unittest.cc | 63 props.subnet_prefix); in TEST()
|
D | static_ip_parameters_unittest.cc | 66 EXPECT_FALSE(ipconfig_props_.subnet_prefix); in ExpectEmptyIPConfig() 87 EXPECT_EQ(kPrefixLen + version, ipconfig_props_.subnet_prefix); in ExpectPopulatedIPConfigWithVersion() 132 ipconfig_props_.subnet_prefix = kPrefixLen; in PopulateIPConfig()
|
D | ppp_device.cc | 87 properties.subnet_prefix = IPAddress::GetMaxPrefixLength( in ParseIPConfiguration()
|
D | ipconfig.cc | 93 store_.RegisterConstInt32(kPrefixlenProperty, &properties_.subnet_prefix); in Init()
|
D | static_ip_parameters.cc | 274 ApplyInt(kPrefixlenProperty, &props->subnet_prefix); in ApplyTo() 286 props->subnet_prefix = saved_args_.LookupInt(kPrefixlenProperty, 0); in RestoreTo()
|
D | device.cc | 569 properties.subnet_prefix = address.prefix(); in OnIPv6AddressChanged() 574 properties.subnet_prefix == in OnIPv6AddressChanged() 575 ip6config_->properties().subnet_prefix) { in OnIPv6AddressChanged()
|
D | connection.cc | 206 local.set_prefix(properties.subnet_prefix); in UpdateFromIPConfig()
|
D | connection_unittest.cc | 101 properties_.subnet_prefix = kPrefix0; in SetUp() 528 properties_.subnet_prefix = kPrefix1; in TEST_F()
|
/system/connectivity/shill/cellular/ |
D | cellular_bearer_unittest.cc | 124 EXPECT_EQ(kIPv4SubnetPrefix, ipv4_config_properties->subnet_prefix); in VerifyStaticIPv4ConfigMethodAndProperties() 139 EXPECT_EQ(kIPv6SubnetPrefix, ipv6_config_properties->subnet_prefix); in VerifyStaticIPv6ConfigMethodAndProperties()
|
D | cellular_bearer.cc | 138 (*ipconfig_properties)->subnet_prefix = prefix; in GetIPConfigMethodAndProperties()
|
D | cellular_unittest.cc | 2121 ipconfig_properties->subnet_prefix = kSubnetPrefix; in TEST_F() 2143 EXPECT_EQ(kSubnetPrefix, device_->ipconfig()->properties().subnet_prefix); in TEST_F()
|
/system/connectivity/shill/vpn/ |
D | openvpn_driver.cc | 414 if (!properties->subnet_prefix) { in ParseIPConfiguration() 415 properties->subnet_prefix = in ParseIPConfiguration() 427 properties->subnet_prefix = in ParseIPConfiguration() 440 properties->subnet_prefix = in ParseIPConfiguration()
|
D | openvpn_driver_unittest.cc | 640 EXPECT_EQ(32, props.subnet_prefix); in TEST_F() 642 props.subnet_prefix = 18; in TEST_F() 644 EXPECT_EQ(18, props.subnet_prefix); in TEST_F() 650 EXPECT_EQ(16, props.subnet_prefix); in TEST_F() 674 EXPECT_EQ(24, props.subnet_prefix); in TEST_F()
|
D | third_party_vpn_driver.cc | 332 &ip_properties_.subnet_prefix, 0, 32, true, error_message); in SetParameters()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv4_config.cc | 355 properties->subnet_prefix = value.Get<uint8_t>(); in ParseConfiguration()
|
D | dhcpv4_config_unittest.cc | 330 EXPECT_EQ(16, properties.subnet_prefix); in TEST_F()
|