Home
last modified time | relevance | path

Searched refs:default_route (Results 1 – 6 of 6) 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/syslinux/core/lwip/src/netif/ppp/
Dipcp.h82 u_int default_route : 1; /* Assign default route through interface? */ member
Dipcp.c200 wo->default_route = 1; in ipcp_init()
210 ao->default_route = 1; in ipcp_init()
1286 if (ipcp_wantoptions[f->unit].default_route) { in ipcp_up()
/external/webrtc/webrtc/base/
Dvirtualsocket_unittest.cc165 void TestDefaultRoute(const IPAddress& default_route) { in TestDefaultRoute() argument
166 ss_->SetDefaultRoute(default_route); in TestDefaultRoute()
170 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
171 socket->Bind(EmptySocketAddressWithFamily(default_route.family())); in TestDefaultRoute()
178 ss_->CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
179 socket2->Bind(SocketAddress(default_route, 0)); in TestDefaultRoute()
190 SocketAddress(default_route, client1_any_addr.port())); in TestDefaultRoute()