summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/wellenreiter.h
authormickeyl <mickeyl>2003-10-06 18:08:05 (UTC)
committer mickeyl <mickeyl>2003-10-06 18:08:05 (UTC)
commitb8ac6724a0aaed78a1df712d87110fe39b16955f (patch) (unidiff)
treef8607b34284882bd4ce99281d0377f83b6b2c086 /noncore/net/wellenreiter/gui/wellenreiter.h
parent42aefe8bc6a8089b771d6f109fed22a770295cc8 (diff)
downloadopie-b8ac6724a0aaed78a1df712d87110fe39b16955f.zip
opie-b8ac6724a0aaed78a1df712d87110fe39b16955f.tar.gz
opie-b8ac6724a0aaed78a1df712d87110fe39b16955f.tar.bz2
fix ARP decoding for wired networks. Interestingly, 802.11 encapsulates
these in IP packets, while wired ethernet just tags the type_of_protocol.
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.h b/noncore/net/wellenreiter/gui/wellenreiter.h
index ed96375..25a5e8d 100644
--- a/noncore/net/wellenreiter/gui/wellenreiter.h
+++ b/noncore/net/wellenreiter/gui/wellenreiter.h
@@ -26,12 +26,13 @@ using namespace Opie;
26class QTimerEvent; 26class QTimerEvent;
27class QPixmap; 27class QPixmap;
28class OPacket; 28class OPacket;
29class OWaveLanManagementPacket; 29class OWaveLanManagementPacket;
30class OWaveLanDataPacket; 30class OWaveLanDataPacket;
31class OEthernetPacket; 31class OEthernetPacket;
32class OARPPacket;
32class OMacAddress; 33class OMacAddress;
33class OIPPacket; 34class OIPPacket;
34class OPacketCapturer; 35class OPacketCapturer;
35class OWirelessNetworkInterface; 36class OWirelessNetworkInterface;
36class WellenreiterConfigWindow; 37class WellenreiterConfigWindow;
37class MLogWindow; 38class MLogWindow;
@@ -70,12 +71,13 @@ class Wellenreiter : public WellenreiterBase {
70 void stoppedSniffing(); 71 void stoppedSniffing();
71 72
72 private: 73 private:
73 void handleBeacon( OPacket* p, OWaveLanManagementPacket* beacon ); 74 void handleBeacon( OPacket* p, OWaveLanManagementPacket* beacon );
74 void handleWlanData( OPacket* p, OWaveLanDataPacket* data, OMacAddress& from, OMacAddress& to ); 75 void handleWlanData( OPacket* p, OWaveLanDataPacket* data, OMacAddress& from, OMacAddress& to );
75 void handleEthernetData( OPacket* p, OEthernetPacket* data, OMacAddress& from, OMacAddress& to ); 76 void handleEthernetData( OPacket* p, OEthernetPacket* data, OMacAddress& from, OMacAddress& to );
77 void handleARPData( OPacket* p, OARPPacket* arp, OMacAddress& from, OMacAddress& to );
76 void handleIPData( OPacket* p, OIPPacket* ip, OMacAddress& from, OMacAddress& to ); 78 void handleIPData( OPacket* p, OIPPacket* ip, OMacAddress& from, OMacAddress& to );
77 void handleNotification( OPacket* p ); 79 void handleNotification( OPacket* p );
78 void doAction( const QString& action, const QString& protocol, OPacket* p ); 80 void doAction( const QString& action, const QString& protocol, OPacket* p );
79 QObject* childIfToParse( OPacket* p, const QString& protocol ); 81 QObject* childIfToParse( OPacket* p, const QString& protocol );
80 bool checkDumpPacket( OPacket* p ); 82 bool checkDumpPacket( OPacket* p );
81 83