comment out addInterface/removeInterface code for now
We already have ioctl based code to do this
This commit is contained in:
parent
442595d6fc
commit
3ace61ef85
2 changed files with 71 additions and 4 deletions
|
@ -36,6 +36,7 @@
|
|||
#include <linux/if.h>
|
||||
|
||||
#include "../node/InetAddress.hpp"
|
||||
#include "../node/MAC.hpp"
|
||||
#include "Thread.hpp"
|
||||
#include "../node/Hashtable.hpp"
|
||||
|
||||
|
@ -74,9 +75,11 @@ public:
|
|||
RouteList getIPV4Routes() const;
|
||||
RouteList getIPV6Routes() const;
|
||||
|
||||
void addInterface(const char *iface, unsigned int mtu);
|
||||
// void addInterface(const char *iface, unsigned int mtu, const MAC &mac);
|
||||
// void removeInterface(const char *iface);
|
||||
|
||||
void addAddress(const InetAddress &addr, const char *iface);
|
||||
void removeAddress(const InetAddress &addr, const char *iface);
|
||||
|
||||
void threadMain() throw();
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue