Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 6 of 6) sorted by relevance

/system/netd/server/
DNetlinkHandler.cpp149 const char *gateway = evt->findParam("GATEWAY"); in onEvent() local
151 if (route && (gateway || iface)) { in onEvent()
152 notifyRouteChange(action, route, gateway, iface); in onEvent()
250 const char *gateway, const char *iface) { in notifyRouteChange() argument
255 (gateway && *gateway) ? " via " : "", in notifyRouteChange()
256 gateway, in notifyRouteChange()
DNetlinkHandler.h52 …void notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const …
/system/core/libnetutils/
Ddhcpclient.c102 uint32_t gateway; member
114 void get_dhcp_info(uint32_t *ipaddr, uint32_t *gateway, uint32_t *prefixLength, in get_dhcp_info() argument
119 *gateway = last_good_info.gateway; in get_dhcp_info()
130 return ifc_configure(ifname, info->ipaddr, info->prefixLength, info->gateway, in dhcp_configure()
155 strcpy(gway, ipaddr(info->gateway)); in dump_dhcp_info()
205 if (optlen >= 4) memcpy(&info->gateway, x, 4); in decode_dhcp_msg()
Difc_utils.c690 in_addr_t gateway, in ifc_configure() argument
713 if (ifc_create_default_route(ifname, gateway)) { in ifc_configure()
714 … printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno)); in ifc_configure()
/system/core/libnetutils/include/netutils/
Difc.h59 uint32_t prefixLength, in_addr_t gateway,
/system/hardware/interfaces/net/netd/1.1/
DINetd.hal38 * @param nexthop IP address of the gateway for the route, or an empty
61 * @param nexthop IP address of the gateway for the route, or an empty