#9701: libnetapi: missing api for getting routing table / gateways --------------------------------+---------------------------- Reporter: jackburton | Owner: axeld Type: enhancement | Status: new Priority: normal | Milestone: Component: Kits/Network Kit | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 0 | Platform: All --------------------------------+---------------------------- Comment (by phoudoin): What about this: {{{ status_t BNetworkRoster::GetRouteAt(const char* interfaceName, int32 index, route_entry* route) }}} Or, instead of `route_entry*`, introduce a `BNetworkRoute` object to wrap it. If interfaceName is NULL, this call could returns all current network routes. An alternative to `GetRouteAt()` semantic could be an opaque cookie-based `GetNextRoute()`, but IIRC we don't use it for method, only for C functions, as `get_next_*_info()` and the likes. -- Ticket URL: <http://dev.haiku-os.org/ticket/9701#comment:1> Haiku <http://dev.haiku-os.org> Haiku - the operating system.