/system/extras/tests/net_test/ |
D | net_test.py | 249 for route in routes: 250 route = [s for s in route.strip().split(" ") if s] 251 if (route[0] == "00000000000000000000000000000000" and route[1] == "00" 253 and route[9] != "lo" and not route[9].startswith("nettest")): 254 return FormatProcAddress(route[4]), route[9] 258 for route in routes: 259 route = [s for s in route.strip().split("\t") if s] 260 if route[1] == "00000000" and route[7] == "00000000": 261 gw, iface = route[2], route[0]
|
D | multinetwork_test.py | 747 route = routes[0] 748 rtmsg, attributes = route
|
/system/connectivity/shill/test-scripts/ |
D | routing.py | 102 route = routeline.split() 103 interface = route[colMap["Iface"]] 104 destination = route[colMap["Destination"]] 105 gateway = route[colMap["Gateway"]] 106 flags = route[colMap["Flags"]] 107 mask = route[colMap["Mask"]]
|
D | veth | 31 route add -host 255.255.255.255 dev "$peer_iface" 45 route del -host 255.255.255.255
|
D | backchannel | 79 ip route add "$ip" via "$gw" dev "$test_if"
|
/system/bt/tools/hci/ |
D | main.c | 131 uint8_t route = 0xFF; in set_sco_route() local 133 route = 0; in set_sco_route() 135 route = 3; in set_sco_route() 137 route = 1; in set_sco_route() 139 if (route == 0xFF) { in set_sco_route() 145 packet[3] = route; in set_sco_route()
|
/system/netd/server/ |
D | NetlinkHandler.cpp | 111 const char *route = evt->findParam("ROUTE"); in onEvent() local 114 if (route && (gateway || iface)) { in onEvent() 115 notifyRouteChange(action, route, gateway, iface); in onEvent() 212 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route, in notifyRouteChange() argument 217 route, in notifyRouteChange()
|
D | NetlinkHandler.h | 49 …void notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const …
|
D | RouteController.cpp | 418 rtmsg route = { in modifyIpRoute() local 431 { &route, sizeof(route) }, in modifyIpRoute()
|
/system/bt/btif/co/ |
D | bta_dm_co.c | 215 tBTM_SCO_ROUTE_TYPE route = BTA_DM_SCO_ROUTE_PCM; in bta_dm_sco_co_init() local 229 route = btui_cb.sco_hci = BTA_DM_SCO_ROUTE_HCI; in bta_dm_sco_co_init() 232 if (p_codec_type->codec_type == BTA_SCO_CODEC_PCM && route == BTA_DM_SCO_ROUTE_HCI) in bta_dm_sco_co_init() 241 return route; in bta_dm_sco_co_init()
|
/system/connectivity/shill/ |
D | routing_table.cc | 202 for (const auto& route : routes) { in ConfigureRoutes() local 204 << " Destination: " << route.host in ConfigureRoutes() 205 << " Netmask: " << route.netmask in ConfigureRoutes() 206 << " Gateway: " << route.gateway; in ConfigureRoutes() 210 if (!destination_address.SetAddressFromString(route.host)) { in ConfigureRoutes() 212 << route.host; in ConfigureRoutes() 216 if (!gateway_address.SetAddressFromString(route.gateway)) { in ConfigureRoutes() 218 << route.gateway; in ConfigureRoutes() 223 IPAddress::GetPrefixLengthFromMask(address_family, route.netmask)); in ConfigureRoutes()
|
D | routing_table_unittest.cc | 516 IPConfig::Route route; in TEST_F() local 517 route.host = kTestRemoteNetwork4; in TEST_F() 518 route.netmask = kTestRemoteNetmask4; in TEST_F() 519 route.gateway = kTestGatewayAddress4; in TEST_F() 520 routes.push_back(route); in TEST_F() 550 route.gateway = "xxx"; // Invalid gateway entry -- should be skipped in TEST_F() 551 routes.push_back(route); in TEST_F() 552 route.host = "xxx"; // Invalid host entry -- should be skipped in TEST_F() 553 route.gateway = kTestGatewayAddress4; in TEST_F() 554 routes.push_back(route); in TEST_F() [all …]
|
/system/connectivity/shill/vpn/ |
D | openvpn_driver.cc | 547 IPConfig::Route* route = GetRouteOptionEntry("network_", key, routes); in ParseRouteOption() local 548 if (route) { in ParseRouteOption() 549 route->host = value; in ParseRouteOption() 552 route = GetRouteOptionEntry("netmask_", key, routes); in ParseRouteOption() 553 if (route) { in ParseRouteOption() 554 route->netmask = value; in ParseRouteOption() 557 route = GetRouteOptionEntry("gateway_", key, routes); in ParseRouteOption() 558 if (route) { in ParseRouteOption() 559 route->gateway = value; in ParseRouteOption() 570 const IPConfig::Route& route = route_map.second; in SetRoutes() local [all …]
|
D | third_party_vpn_driver.cc | 373 IPConfig::Route route; in SetParameters() local 374 route.gateway = ip_properties_.gateway; in SetParameters() 378 ip_address.IntoString(&route.host); in SetParameters() 380 ip_address.family(), ip_address.prefix()).IntoString(&route.netmask); in SetParameters() 381 ip_properties_.routes.push_back(route); in SetParameters()
|
D | openvpn_driver_unittest.cc | 507 IPConfig::Route* route = in TEST_F() local 510 EXPECT_EQ(route, &routes[12]); in TEST_F() 511 route = OpenVPNDriver::GetRouteOptionEntry("foo", "foo13", &routes); in TEST_F() 513 EXPECT_EQ(route, &routes[13]); in TEST_F()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv4_config.cc | 318 IPConfig::Route route; in ParseClasslessStaticRoutes() local 319 CHECK(destination.IntoString(&route.host)); in ParseClasslessStaticRoutes() 322 CHECK(netmask.IntoString(&route.netmask)); in ParseClasslessStaticRoutes() 323 CHECK(gateway.IntoString(&route.gateway)); in ParseClasslessStaticRoutes() 324 routes.push_back(route); in ParseClasslessStaticRoutes()
|
/system/sepolicy/ |
D | netd.te | 28 # For /proc/sys/net/ipv[46]/route/flush.
|
/system/connectivity/shill/doc/ |
D | manager-api.txt | 566 The current connected service with the default route. 571 default route. 684 the default route always first and then the favorite
|
D | service-api.txt | 616 Will be true if this service has a default route; 771 default route to the default gateway specified by
|