Home
last modified time | relevance | path

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

/system/netd/server/
DNetlinkHandler.cpp180 const char *gateway = evt->findParam("GATEWAY"); in onEvent() local
182 if (route && (gateway || iface)) { in onEvent()
184 route, (gateway == nullptr) ? "" : gateway, in onEvent()
272 const std::string& gateway, const std::string& ifName) { in notifyRouteChange() argument
273 NOTIFY_AND_LOG(BINDER_RETRY, onRouteChanged, updated, route, gateway, ifName); in notifyRouteChange()
DNetlinkHandler.h56 void notifyRouteChange(bool updated, const std::string& route, const std::string& gateway,
/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.c697 in_addr_t gateway, in ifc_configure() argument
720 if (ifc_create_default_route(ifname, gateway)) { in ifc_configure()
721 … printerr("failed to set default route %s: %s\n", ipaddr_to_string(gateway), strerror(errno)); in ifc_configure()
/system/core/libnetutils/include/netutils/
Difc.h62 uint32_t prefixLength, in_addr_t gateway,
/system/netd/tests/
DTestUnsolService.h71 const std::string& gateway, const std::string& ifName) override;
/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