author | mickeyl <mickeyl> | 2003-10-09 00:03:06 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-09 00:03:06 (UTC) |
commit | f8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e (patch) (unidiff) | |
tree | 36059d71abfcdb73748c1941fb9458dc75e0d4a8 /libopie2/opienet/opcap.h | |
parent | 5517443d9ebe96ff9c30d91b2254418964d5c410 (diff) | |
download | opie-f8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e.zip opie-f8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e.tar.gz opie-f8d08db59ac05f5bf2f56e6ebf69c28dfbe8b13e.tar.bz2 |
- catch up with changed sniffing behaviour in newer wlan-ng *puke* drivers
- new API: OPacketCapturer::next( int time )
-rw-r--r-- | libopie2/opienet/opcap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libopie2/opienet/opcap.h b/libopie2/opienet/opcap.h index 51f067a..54b256b 100644 --- a/libopie2/opienet/opcap.h +++ b/libopie2/opienet/opcap.h | |||
@@ -602,12 +602,17 @@ class OPacketCapturer : public QObject | |||
602 | /** | 602 | /** |
603 | * @returns the next @ref OPacket from the packet capturer. | 603 | * @returns the next @ref OPacket from the packet capturer. |
604 | * @note If blocking mode is true then this call might block. | 604 | * @note If blocking mode is true then this call might block. |
605 | */ | 605 | */ |
606 | OPacket* next(); | 606 | OPacket* next(); |
607 | /** | 607 | /** |
608 | * @returns the next @ref OPacket from the packet capturer, if | ||
609 | * one arrives within @a time milliseconds. | ||
610 | */ | ||
611 | OPacket* next( int time ); | ||
612 | /** | ||
608 | * Open the packet capturer to capture packets in live-mode from @a interface. | 613 | * Open the packet capturer to capture packets in live-mode from @a interface. |
609 | */ | 614 | */ |
610 | bool open( const QString& interface ); | 615 | bool open( const QString& interface ); |
611 | /** | 616 | /** |
612 | * Open the packet capturer to capture packets in offline-mode from @a file. | 617 | * Open the packet capturer to capture packets in offline-mode from @a file. |
613 | */ | 618 | */ |