Searched refs:gateway (Results 1 – 6 of 6) sorted by relevance
/system/netd/server/ |
D | NetlinkHandler.cpp | 149 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()
|
D | NetlinkHandler.h | 52 …void notifyRouteChange(NetlinkEvent::Action action, const char *route, const char *gateway, const …
|
/system/core/libnetutils/ |
D | dhcpclient.c | 102 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()
|
D | ifc_utils.c | 690 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/ |
D | ifc.h | 59 uint32_t prefixLength, in_addr_t gateway,
|
/system/hardware/interfaces/net/netd/1.1/ |
D | INetd.hal | 38 * @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
|