author | mickeyl <mickeyl> | 2003-10-05 13:12:45 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-05 13:12:45 (UTC) |
commit | 634a68b636a0fa24232029b79ffa915a5621b2be (patch) (unidiff) | |
tree | 3e4c58bebfd624e841c314f1db68d985d81cdc6c /noncore/net/wellenreiter/gui/wellenreiter.h | |
parent | dc9510f788212a6be063349461540e4bea690f51 (diff) | |
download | opie-634a68b636a0fa24232029b79ffa915a5621b2be.zip opie-634a68b636a0fa24232029b79ffa915a5621b2be.tar.gz opie-634a68b636a0fa24232029b79ffa915a5621b2be.tar.bz2 |
* start with preparations for scanning wired networks
* dhcp recognition now works nicely
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.h | 7 |
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> |
23 | using namespace Opie; | 23 | using namespace Opie; |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | class QTimerEvent; | 26 | class QTimerEvent; |
27 | class QPixmap; | 27 | class QPixmap; |
28 | class OPacket; | 28 | class OPacket; |
29 | class OWaveLanManagementPacket; | 29 | class OWaveLanManagementPacket; |
30 | class OWaveLanDataPacket; | 30 | class OWaveLanDataPacket; |
31 | class OEthernetPacket; | ||
32 | class OMacAddress; | ||
33 | class OIPPacket; | ||
31 | class OPacketCapturer; | 34 | class OPacketCapturer; |
32 | class OWirelessNetworkInterface; | 35 | class OWirelessNetworkInterface; |
33 | class WellenreiterConfigWindow; | 36 | class WellenreiterConfigWindow; |
34 | class MLogWindow; | 37 | class MLogWindow; |
35 | class MHexWindow; | 38 | class MHexWindow; |
36 | class GPS; | 39 | class GPS; |
37 | 40 | ||
38 | class Wellenreiter : public WellenreiterBase { | 41 | class 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; |