git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed "using namespace std;" from stargazer.
[stg.git]
/
projects
/
stargazer
/
plugins
/
capture
/
nfqueue
/
nfqueue.h
diff --git
a/projects/stargazer/plugins/capture/nfqueue/nfqueue.h
b/projects/stargazer/plugins/capture/nfqueue/nfqueue.h
index 45342be012db250273f002bffe78fb3ff6ab1c12..871247848e0c1fef4c762493b925c50744f79438 100644
(file)
--- a/
projects/stargazer/plugins/capture/nfqueue/nfqueue.h
+++ b/
projects/stargazer/plugins/capture/nfqueue/nfqueue.h
@@
-35,6
+35,7
@@
class TARIFFS;
class ADMINS;
class TRAFFCOUNTER;
class SETTINGS;
class ADMINS;
class TRAFFCOUNTER;
class SETTINGS;
+class RAW_PACKET;
class TRAFFCOUNTER;
class TRAFFCOUNTER;
@@
-61,7
+62,7
@@
public:
uint16_t GetStartPosition() const { return 40; }
uint16_t GetStopPosition() const { return 40; }
uint16_t GetStartPosition() const { return 40; }
uint16_t GetStopPosition() const { return 40; }
- void Process(const RAW_PACKET & packet)
{ traffCnt->Process(packet); }
+ void Process(const RAW_PACKET & packet)
;
private:
NFQ_CAP(const NFQ_CAP & rvalue);
private:
NFQ_CAP(const NFQ_CAP & rvalue);
@@
-76,6
+77,8
@@
private:
bool isRunning;
MODULE_SETTINGS settings;
bool isRunning;
MODULE_SETTINGS settings;
+ size_t queueNumber;
+
struct nfq_handle * nfqHandle;
struct nfq_q_handle * queueHandle;
struct nfq_handle * nfqHandle;
struct nfq_q_handle * queueHandle;