Searched defs:routes (Results 1 - 7 of 7) sorted by relevance
/system/connectivity/shill/test-scripts/ |
H A D | routing.py | 22 information about all routes, and Route, which describes 100 self.routes = [] 108 self.routes.append( 112 for rr in self.routes: 121 for rr in self.routes: 127 for rr in self.routes: 136 for rr in self.routes: 143 routes = NetworkRoutes() variable in class:NetworkRoutes 144 if routes == None: 147 for each_route in routes 161 routes = NetworkRoutes([ variable in class:NetworkRoutes [all...] |
/system/connectivity/shill/ |
H A D | routing_table.cc | 200 const vector<IPConfig::Route>& routes = ipconfig->properties().routes; local 202 for (const auto& route : routes) { 470 // Somewhat surprisingly, the kernel allows you to create multiple routes
|
H A D | ipconfig.h | 87 std::vector<Route> routes; member in struct:shill::IPConfig::Properties
|
H A D | routing_table_unittest.cc | 507 vector<IPConfig::Route>& routes = properties.routes; local 520 routes.push_back(route); 549 routes.clear(); 551 routes.push_back(route); 554 routes.push_back(route); 556 routes.push_back(route); 653 // Ask to flush routes with our tag. We should see a delete message sent. 662 // After flushing routes for this tag, we should end up with no routes [all...] |
/system/connectivity/shill/dhcp/ |
H A D | dhcpv4_config.cc | 285 vector<IPConfig::Route> routes; local 287 // Classless routes are a space-delimited array of 324 routes.push_back(route); 330 if (!routes.empty()) { 331 properties->routes.swap(routes);
|
/system/connectivity/shill/vpn/ |
H A D | openvpn_driver.cc | 410 RouteOptions routes; local 475 value, &routes); 481 SetRoutes(routes, properties); 535 const string& prefix, const string& key, RouteOptions* routes) { 541 return&(*routes)[order]; 546 const string& key, const string& value, RouteOptions* routes) { 547 IPConfig::Route* route = GetRouteOptionEntry("network_", key, routes); 552 route = GetRouteOptionEntry("netmask_", key, routes); 557 route = GetRouteOptionEntry("gateway_", key, routes); 566 void OpenVPNDriver::SetRoutes(const RouteOptions& routes, argument 534 GetRouteOptionEntry( const string& prefix, const string& key, RouteOptions* routes) argument 545 ParseRouteOption( const string& key, const string& value, RouteOptions* routes) argument [all...] |
H A D | openvpn_driver_unittest.cc | 499 OpenVPNDriver::RouteOptions routes; local 500 EXPECT_EQ(nullptr, OpenVPNDriver::GetRouteOptionEntry("foo", "bar", &routes)); 501 EXPECT_TRUE(routes.empty()); 502 EXPECT_EQ(nullptr, OpenVPNDriver::GetRouteOptionEntry("foo", "foo", &routes)); 503 EXPECT_TRUE(routes.empty()); 505 OpenVPNDriver::GetRouteOptionEntry("foo", "fooz", &routes)); 506 EXPECT_TRUE(routes.empty()); 508 OpenVPNDriver::GetRouteOptionEntry("foo", "foo12", &routes); 509 EXPECT_EQ(1, routes.size()); 510 EXPECT_EQ(route, &routes[1 517 OpenVPNDriver::RouteOptions routes; local 537 OpenVPNDriver::RouteOptions routes; local [all...] |
Completed in 440 milliseconds