Home
last modified time | relevance | path

Searched refs:default_route (Results 1 – 4 of 4) sorted by relevance

/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/
Dnetwork_DhcpBrokenDefaultGateway.py52 default_route = interface.get_prioritized_default_route(
54 if not default_route:
56 if default_route.gateway != gateway_ip:
59 (default_route.gateway, gateway_ip))
/external/ppp/pppd/
Dipcp.h72 bool default_route; /* Assign default route through interface? */ member
Dipcp.c192 { "defaultroute", o_bool, &ipcp_wantoptions[0].default_route,
193 "Add default route", OPT_ENABLE|1, &ipcp_allowoptions[0].default_route },
194 { "nodefaultroute", o_bool, &ipcp_allowoptions[0].default_route,
196 &ipcp_wantoptions[0].default_route },
197 { "-defaultroute", o_bool, &ipcp_allowoptions[0].default_route,
199 &ipcp_wantoptions[0].default_route },
610 ao->default_route = 1;
1763 if (wo->default_route)
1876 if (ipcp_wantoptions[f->unit].default_route)
1926 if (ipcp_wantoptions[f->unit].default_route)
/external/webrtc/rtc_base/
Dvirtual_socket_unittest.cc194 void TestDefaultRoute(const IPAddress& default_route) { in TestDefaultRoute() argument
195 ss_.SetDefaultRoute(default_route); in TestDefaultRoute()
199 ss_.CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
200 socket->Bind(EmptySocketAddressWithFamily(default_route.family())); in TestDefaultRoute()
208 ss_.CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
209 socket2->Bind(SocketAddress(default_route, 0)); in TestDefaultRoute()
221 SocketAddress(default_route, client1_any_addr.port())); in TestDefaultRoute()