* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user