class ADMINS;
class TRAFFCOUNTER;
class SETTINGS;
+class RAW_PACKET;
class TRAFFCOUNTER;
int Start();
int Stop();
- int Reload() { return 0; }
+ int Reload(const MODULE_SETTINGS & /*ms*/) { return 0; }
bool IsRunning() { return isRunning; }
void SetSettings(const MODULE_SETTINGS & s) { settings = s; }
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);
bool isRunning;
MODULE_SETTINGS settings;
+ size_t queueNumber;
+
struct nfq_handle * nfqHandle;
struct nfq_q_handle * queueHandle;