summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/wellenreiter.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h
index 43f6f99..ed96375 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.h
+++ b/noncore/net/wellenreiter/gui/wellenreiter.h
@@ -19,24 +19,27 @@
19#include "wellenreiterbase.h" 19#include "wellenreiterbase.h"
20 20
21#ifdef QWS 21#ifdef QWS
22#include <opie/odevice.h> 22#include <opie/odevice.h>
23using namespace Opie; 23using namespace Opie;
24#endif 24#endif
25 25
26class QTimerEvent; 26class QTimerEvent;
27class QPixmap; 27class QPixmap;
28class OPacket; 28class OPacket;
29class OWaveLanManagementPacket; 29class OWaveLanManagementPacket;
30class OWaveLanDataPacket; 30class OWaveLanDataPacket;
31class OEthernetPacket;
32class OMacAddress;
33class OIPPacket;
31class OPacketCapturer; 34class OPacketCapturer;
32class OWirelessNetworkInterface; 35class OWirelessNetworkInterface;
33class WellenreiterConfigWindow; 36class WellenreiterConfigWindow;
34class MLogWindow; 37class MLogWindow;
35class MHexWindow; 38class MHexWindow;
36class GPS; 39class GPS;
37 40
38class Wellenreiter : public WellenreiterBase { 41class Wellenreiter : public WellenreiterBase {
39 Q_OBJECT 42 Q_OBJECT
40 43
41 public: 44 public:
42 Wellenreiter( QWidget* parent = 0 ); 45 Wellenreiter( QWidget* parent = 0 );
@@ -59,25 +62,27 @@ class Wellenreiter : public WellenreiterBase {
59 void receivePacket(OPacket*); 62 void receivePacket(OPacket*);
60 void startClicked(); 63 void startClicked();
61 void stopClicked(); 64 void stopClicked();
62 65
63 void joinNetwork(const QString&,const QString&,int,const QString&); 66 void joinNetwork(const QString&,const QString&,int,const QString&);
64 67
65 signals: 68 signals:
66 void startedSniffing(); 69 void startedSniffing();
67 void stoppedSniffing(); 70 void stoppedSniffing();
68 71
69 private: 72 private:
70 void handleBeacon( OPacket* p, OWaveLanManagementPacket* beacon ); 73 void handleBeacon( OPacket* p, OWaveLanManagementPacket* beacon );
71 void handleData( OPacket* p, OWaveLanDataPacket* data ); 74 void handleWlanData( OPacket* p, OWaveLanDataPacket* data, OMacAddress& from, OMacAddress& to );
75 void handleEthernetData( OPacket* p, OEthernetPacket* data, OMacAddress& from, OMacAddress& to );
76 void handleIPData( OPacket* p, OIPPacket* ip, OMacAddress& from, OMacAddress& to );
72 void handleNotification( OPacket* p ); 77 void handleNotification( OPacket* p );
73 void doAction( const QString& action, const QString& protocol, OPacket* p ); 78 void doAction( const QString& action, const QString& protocol, OPacket* p );
74 QObject* childIfToParse( OPacket* p, const QString& protocol ); 79 QObject* childIfToParse( OPacket* p, const QString& protocol );
75 bool checkDumpPacket( OPacket* p ); 80 bool checkDumpPacket( OPacket* p );
76 81
77 private: 82 private:
78 #ifdef QWS 83 #ifdef QWS
79 OSystem _system; // Opie Operating System identifier 84 OSystem _system; // Opie Operating System identifier
80 #endif 85 #endif
81 86
82 OWirelessNetworkInterface* iface; 87 OWirelessNetworkInterface* iface;
83 OPacketCapturer* pcap; 88 OPacketCapturer* pcap;