* Added methods to manipulate routes.

* Added AutoConfigure() method.
* Implemented missing Index() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39592 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-11-23 21:03:11 +00:00
parent 2977e7888f
commit 2087545cc0
3 changed files with 117 additions and 0 deletions
+9
View File
@@ -100,6 +100,15 @@ public:
status_t GetHardwareAddress(BNetworkAddress& address);
status_t AddRoute(const route_entry& route);
status_t AddDefaultRoute(const BNetworkAddress& gateway);
status_t RemoveRoute(const route_entry& route);
status_t RemoveRoute(int family,
const route_entry& route);
status_t RemoveDefaultRoute(int family);
status_t AutoConfigure(int family);
private:
char fName[IF_NAMESIZE];
BList fAddresses;