Searched refs:ip_properties_ (Results 1 – 6 of 6) sorted by relevance
/system/connectivity/shill/vpn/ |
D | third_party_vpn_driver.cc | 321 ip_properties_ = IPConfig::Properties(); in SetParameters() 322 ip_properties_.address_family = IPAddress::kFamilyIPv4; in SetParameters() 324 ProcessIp(parameters, kAddressParameterThirdPartyVpn, &ip_properties_.address, in SetParameters() 327 &ip_properties_.broadcast_address, false, error_message); in SetParameters() 329 ip_properties_.gateway = ip_properties_.address; in SetParameters() 332 &ip_properties_.subnet_prefix, 0, 32, true, error_message); in SetParameters() 333 ProcessInt32(parameters, kMtuParameterThirdPartyVpn, &ip_properties_.mtu, in SetParameters() 337 kNonIPDelimiter, &ip_properties_.domain_search, in SetParameters() 340 &ip_properties_.dns_servers, true, error_message, in SetParameters() 346 kIPDelimiter, &ip_properties_.exclusion_list, true, in SetParameters() [all …]
|
D | third_party_vpn_driver_unittest.cc | 289 EXPECT_EQ(driver_->ip_properties_.exclusion_list.size(), 3); in TEST_F() 290 EXPECT_EQ(driver_->ip_properties_.exclusion_list[0], "123.211.21.29/31"); in TEST_F() 291 EXPECT_EQ(driver_->ip_properties_.exclusion_list[1], "0.0.0.0/0"); in TEST_F() 292 EXPECT_EQ(driver_->ip_properties_.exclusion_list[2], "123.211.21.1/24"); in TEST_F() 293 EXPECT_EQ(driver_->ip_properties_.routes.size(), 2); in TEST_F() 294 EXPECT_EQ(driver_->ip_properties_.routes[0].host, "123.211.61.29"); in TEST_F() 295 EXPECT_EQ(driver_->ip_properties_.routes[1].host, "123.211.42.29"); in TEST_F() 296 EXPECT_EQ(driver_->ip_properties_.routes[0].netmask, "254.0.0.0"); in TEST_F() 297 EXPECT_EQ(driver_->ip_properties_.routes[1].netmask, "255.255.128.0"); in TEST_F() 298 EXPECT_EQ(driver_->ip_properties_.routes[0].gateway, parameters["address"]); in TEST_F() [all …]
|
D | third_party_vpn_driver.h | 209 IPConfig::Properties ip_properties_; variable
|
D | openvpn_driver.cc | 257 ip_properties_ = IPConfig::Properties(); in Cleanup() 399 ParseIPConfiguration(dict, &ip_properties_); in Notify() 401 device_->UpdateIPConfig(ip_properties_); in Notify()
|
D | openvpn_driver.h | 285 IPConfig::Properties ip_properties_; variable
|
D | openvpn_driver_unittest.cc | 384 driver_->ip_properties_.address = "1.2.3.4"; in TEST_F() 1183 driver_->ip_properties_.address = "1.2.3.4"; in TEST_F() 1212 EXPECT_TRUE(driver_->ip_properties_.address.empty()); in TEST_F()
|