X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fprotector-plugin%2FNetworkProtector.h;fp=src%2Fprotector-plugin%2FNetworkProtector.h;h=e8750db559fb16b2c81ea03737645c6cadc8c296;hb=dc68642f5676cdd49f3ef92f983b319e21f16afa;hp=8a69f15995a0e1bee79d7abd5269ed4986e79a58;hpb=0054ece5d9d4bcb28ecda2f0f36584f6a64fc869;p=ric-app%2Fadmin.git diff --git a/src/protector-plugin/NetworkProtector.h b/src/protector-plugin/NetworkProtector.h index 8a69f15..e8750db 100644 --- a/src/protector-plugin/NetworkProtector.h +++ b/src/protector-plugin/NetworkProtector.h @@ -34,11 +34,13 @@ #define unlikely(x) (x) #endif +extern bool report_mode_only; + class protector { public: - protector( bool enforce, int windowSize_, int threshold_, double blockRate_); + protector( bool , int , int , double , bool rep=true); bool operator()(unsigned char *, size_t , unsigned char *, size_t *); @@ -67,6 +69,7 @@ private: sgnb_addition_response sgnb_resp; std::string error_string; + bool report_mode_only; }; #endif