parent
f6acec53c0
commit
ba4237f1dd
64 changed files with 1933 additions and 336 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <QHash>
|
||||
#include <QDebug>
|
||||
#include <QObject>
|
||||
#include <QHostAddress>
|
||||
|
||||
/**
|
||||
* @brief The Router class - General class for handling ip routing
|
||||
|
@ -20,6 +21,11 @@ public:
|
|||
static int routeDeleteList(const QString &gw, const QStringList &ips);
|
||||
static void flushDns();
|
||||
static void resetIpStack();
|
||||
static bool createTun(const QString &dev, const QString &subnet);
|
||||
static bool deleteTun(const QString &dev);
|
||||
static void StartRoutingIpv6();
|
||||
static void StopRoutingIpv6();
|
||||
static bool updateResolvers(const QString& ifname, const QList<QHostAddress>& resolvers);
|
||||
};
|
||||
|
||||
#endif // ROUTER_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue