blob: 3bbe0211a61059904802567a6b07a1db5a0bfd7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* routemanager.h
*
* Created on: Sep 5, 2011
* Author: niklas
*/
#ifndef ROUTEMANAGER_H_
#define ROUTEMANAGER_H_
#include <arpa/inet.h>
#include <interface.h>
#include <QtCore>
class routemanager : public QObject{
Q_OBJECT
public:
routemanager();
virtual ~routemanager();
void addRoute(QString ifname, QString destination, QString netmask, QString gateway, int metric);
void delRoute(QString ifname, QString destination, QString netmask, QString gateway, int metric);
private:
QByteArray ba;
};
#endif /* ROUTEMANAGER_H_ */
|