Searched defs:route (Results 1 - 9 of 9) sorted by relevance

/system/bt/tools/hci/
H A Dmain.c41 { "setScoRoute", "(pcm|i2s|uart) - sets the SCO packet route to one of the specified buses.", set_sco_route },
127 printf("SCO route parameter must be specified.\n");
131 uint8_t route = 0xFF; local
133 route = 0;
135 route = 3;
137 route = 1;
139 if (route == 0xFF) {
140 printf("Invalid SCO route specified: %s\n", argv[0]);
145 packet[3] = route;
/system/bt/btif/co/
H A Dbta_dm_co.c215 tBTM_SCO_ROUTE_TYPE route = BTA_DM_SCO_ROUTE_PCM; local
229 route = btui_cb.sco_hci = BTA_DM_SCO_ROUTE_HCI;
232 if (p_codec_type->codec_type == BTA_SCO_CODEC_PCM && route == BTA_DM_SCO_ROUTE_HCI)
241 return route;
/system/netd/server/
H A DNetlinkHandler.cpp111 const char *route = evt->findParam("ROUTE"); local
114 if (route && (gateway || iface)) {
115 notifyRouteChange(action, route, gateway, iface);
212 void NetlinkHandler::notifyRouteChange(NetlinkEvent::Action action, const char *route, argument
217 route,
H A DRouteController.cpp359 // Adds or deletes an IPv4 or IPv6 route.
418 rtmsg route = { local
431 { &route, sizeof(route) },
450 // + Use the right fwmark for (and thus correctly route) replies (e.g.: TCP RST, ICMP errors, ping
475 // A rule to route responses to the local network forwarded via the VPN.
485 // A rule to route all traffic from a given set of UIDs to go over the VPN.
535 // A rule to route traffic based on an explicitly chosen network.
561 // A rule to route traffic based on a chosen outgoing interface.
588 // A rule to route traffi
[all...]
/system/connectivity/shill/
H A Drouting_table_unittest.cc349 // Add a second gateway route to the second interface.
363 // Remove the first gateway route from the second interface.
368 // We should be back to having one route per table.
376 // Send a duplicate of the second gateway route message, changing the metric.
408 // Add a route to a gateway address.
431 // Setting the same route on the interface with a different metric should
432 // push the route with different flags to indicate we are replacing it,
451 // Test that removing the table causes the route to disappear.
459 // When we set the metric on an existing route, a new add and delete
475 // for the default route fo
516 IPConfig::Route route; local
[all...]
/system/connectivity/shill/vpn/
H A Dthird_party_vpn_driver.cc350 // finds the default gateway does not work for default route "0.0.0.0/0".
360 // be cleared since the default behavior is to not route any traffic to
373 IPConfig::Route route; local
374 route.gateway = ip_properties_.gateway;
378 ip_address.IntoString(&route.host);
380 ip_address.family(), ip_address.prefix()).IntoString(&route.netmask);
381 ip_properties_.routes.push_back(route);
H A Dopenvpn_driver.cc485 LOG(INFO) << "Configuration request to ignore default route is "
488 SLOG(this, 2) << "Ignoring default route parameter as requested by "
547 IPConfig::Route* route = GetRouteOptionEntry("network_", key, routes); local
548 if (route) {
549 route->host = value;
552 route = GetRouteOptionEntry("netmask_", key, routes);
553 if (route) {
554 route->netmask = value;
557 route = GetRouteOptionEntry("gateway_", key, routes);
558 if (route) {
570 const IPConfig::Route& route = route_map.second; local
[all...]
H A Dopenvpn_driver_unittest.cc507 IPConfig::Route* route = local
510 EXPECT_EQ(route, &routes[12]);
511 route = OpenVPNDriver::GetRouteOptionEntry("foo", "foo13", &routes);
513 EXPECT_EQ(route, &routes[13]);
/system/connectivity/shill/dhcp/
H A Ddhcpv4_config.cc312 // If a default route is provided in the classless parameters and
313 // we don't already have one, apply this as the default route.
318 IPConfig::Route route; local
319 CHECK(destination.IntoString(&route.host));
322 CHECK(netmask.IntoString(&route.netmask));
323 CHECK(gateway.IntoString(&route.gateway));
324 routes.push_back(route);
325 SLOG(nullptr, 2) << "In " << __func__ << ": Adding route to to "

Completed in 7487 milliseconds