summaryrefslogtreecommitdiffstats
path: root/LogReceiver/logreceiver.h
diff options
context:
space:
mode:
authorNiklas2011-09-20 16:46:11 +0200
committerNiklas2011-09-20 16:46:11 +0200
commitd3612f403d0122a6929837764fad849634b26e1b (patch)
tree7a96bacd828e93f809ab62310bc7731578b784fa /LogReceiver/logreceiver.h
parentsolved the stupid mistake. just forgot to add an additional header file. rtnl... (diff)
downloadfbgui-d3612f403d0122a6929837764fad849634b26e1b.tar.gz
fbgui-d3612f403d0122a6929837764fad849634b26e1b.tar.xz
fbgui-d3612f403d0122a6929837764fad849634b26e1b.zip
the checkConnectivity method is working now. we use the rtnl functions of the libnl.
Diffstat (limited to 'LogReceiver/logreceiver.h')
-rw-r--r--LogReceiver/logreceiver.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/LogReceiver/logreceiver.h b/LogReceiver/logreceiver.h
index f22e619..f5bdae1 100644
--- a/LogReceiver/logreceiver.h
+++ b/LogReceiver/logreceiver.h
@@ -14,6 +14,7 @@
#include <sysfs/libsysfs.h>
#include "interfaceconfiguration.h"
+#include "routemanager.h"
//#include <qlocalserver.h>
//#include <qlocalsocket.h>
#include "status.h"
@@ -76,7 +77,7 @@ private:
QNetworkConfigurationManager configurationManager;
QNetworkAccessManager *accessManager;
int numberOfProcesses;
- //const char ack[ACK_SIZE];
+ routemanager rm;
void handleNewInput(QLocalSocket * client);
@@ -84,9 +85,6 @@ private:
void runDHCPCD(QString interface);
QList<QString>checkCarrierState(QList<QString> &interfaces);
bool checkCarrierState(QString interface);
- void checkInternetConnection(QString ifName);
- void checkInternetConnection(QList<QString> &interfaces);
- void checkInternetConnectionViaTCP(QString ifName);
void checkConnectivity(QString ifName);
QList<QString> getListOfNetworkInterfaces();
bool checkBlackList(QString i);