Added family parameter to the GetRoutes() API.
Moved common code to a private file.
This commit is contained in:
@@ -106,8 +106,8 @@ public:
|
||||
status_t RemoveRoute(int family,
|
||||
const route_entry& route);
|
||||
status_t RemoveDefaultRoute(int family);
|
||||
status_t GetRoutes(BObjectList<route_entry>& routes) const;
|
||||
status_t GetDefaultRoute(BNetworkAddress& gateway) const;
|
||||
status_t GetRoutes(int family, BObjectList<route_entry>& routes) const;
|
||||
status_t GetDefaultRoute(int family, BNetworkAddress& gateway) const;
|
||||
|
||||
status_t AutoConfigure(int family);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user