Searched defs:gateway (Results 1 - 3 of 3) sorted by relevance
/system/netd/server/ |
H A D | NetlinkHandler.cpp | 115 const char *gateway = evt->findParam("GATEWAY"); local 117 if (route && (gateway || iface)) { 118 notifyRouteChange(action, route, gateway, iface); 216 const char *gateway, const char *iface) { 221 (gateway && *gateway) ? " via " : "", 222 gateway, 215 notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const char *iface) argument
|
/system/core/libnetutils/ |
H A D | dhcpclient.c | 102 uint32_t gateway; member in struct:dhcp_info 114 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, argument 119 *gateway = last_good_info.gateway; 130 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, 155 strcpy(gway, ipaddr(info->gateway)); 205 if (optlen >= 4) memcpy(&info->gateway, x, 4);
|
H A D | ifc_utils.c | 690 in_addr_t gateway, 713 if (ifc_create_default_route(ifname, gateway)) { 714 printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno)); 687 ifc_configure(const char *ifname, in_addr_t address, uint32_t prefixLength, in_addr_t gateway, in_addr_t dns1, in_addr_t dns2) argument
|
Completed in 298 milliseconds