X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9faa3c51da5965b95d165ade36120a74a69521f4..e3bd9717d35cb33018fb7589e1dfc7751d193b33:/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h diff --git a/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h b/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h index aeb3be7f..8f7e1f2f 100644 --- a/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h +++ b/projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h @@ -32,9 +32,9 @@ #include #include -#include "os_int.h" -#include "plugin.h" -#include "module_settings.h" +#include "stg/os_int.h" +#include "stg/plugin.h" +#include "stg/module_settings.h" extern "C" PLUGIN * GetPlugin(); @@ -95,12 +95,7 @@ public: BPF_CAP(); virtual ~BPF_CAP() {} - void SetUsers(USERS *) {} - void SetTariffs(TARIFFS *) {} - void SetAdmins(ADMINS *) {} void SetTraffcounter(TRAFFCOUNTER * tc) { traffCnt = tc; } - void SetStore(STORE *) {} - void SetStgSettings(const SETTINGS *) {} int Start(); int Stop(); @@ -116,6 +111,9 @@ public: uint16_t GetStopPosition() const { return 10; } private: + BPF_CAP(const BPF_CAP & rvalue); + BPF_CAP & operator=(const BPF_CAP & rvalue); + static void * Run(void *); int BPFCapOpen(); int BPFCapOpen(BPF_DATA * bd);