Searched refs:default_route (Results 1 - 4 of 4) sorted by relevance
/external/android-clat/ |
H A D | getroute.h | 33 int get_default_route(struct default_route_data *default_route);
|
H A D | getroute.c | 42 struct default_route_data *default_route = data; local 47 if(default_route->reply_found_route) { // we already found our route 55 if((rt_p->rtm_family != default_route->request_family) || (rt_p->rtm_table != RT_TABLE_MAIN)) { // not a route we care about 75 if(this_interface_id == default_route->request_interface_id) { 76 default_route->reply_found_route = 1; 78 memcpy(&default_route->reply_gateway, this_gateway, this_gateway_size); 79 default_route->reply_has_gateway = 1; 81 default_route->reply_has_gateway = 0; 103 * default_route - requested family and interface, and response storage 105 int get_default_route(struct default_route_data *default_route) { argument [all...] |
/external/ppp/pppd/ |
H A D | ipcp.h | 72 bool default_route; /* Assign default route through interface? */ member in struct:ipcp_options
|
H A D | ipcp.c | 191 { "defaultroute", o_bool, &ipcp_wantoptions[0].default_route, 192 "Add default route", OPT_ENABLE|1, &ipcp_allowoptions[0].default_route }, 193 { "nodefaultroute", o_bool, &ipcp_allowoptions[0].default_route, 195 &ipcp_wantoptions[0].default_route }, 196 { "-defaultroute", o_bool, &ipcp_allowoptions[0].default_route, 198 &ipcp_wantoptions[0].default_route }, 594 ao->default_route = 1; 1661 if (wo->default_route) 1768 if (ipcp_wantoptions[f->unit].default_route) 1815 if (ipcp_wantoptions[f->unit].default_route) [all...] |
Completed in 84 milliseconds