X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=RIC-E2-TERMINATION%2FsctpThread.h;h=637dd17da5832949c9a03d1320cf2457b814f977;hb=16c799b750e66b24ff1ac71f5038c18757fd7028;hp=f6b97527e719435a18d20b934cd9559c4a948f5c;hpb=6680c3b3a845af93ffa8dc1ec4b11efe7250c38a;p=ric-plt%2Fe2.git diff --git a/RIC-E2-TERMINATION/sctpThread.h b/RIC-E2-TERMINATION/sctpThread.h index f6b9752..637dd17 100644 --- a/RIC-E2-TERMINATION/sctpThread.h +++ b/RIC-E2-TERMINATION/sctpThread.h @@ -84,11 +84,9 @@ #include "cxxopts.hpp" //#include "config-cpp/include/config-cpp/config-cpp.h" -#ifdef __TRACING__ -#include "openTracing.h" -#endif #include "mapWrapper.h" +#include "statCollector.h" #include "base64.h" @@ -114,6 +112,7 @@ namespace expr = boost::log::expressions; typedef mapWrapper Sctp_Map_t; + #define VOLUME_URL_SIZE 256 #define KA_MESSAGE_SIZE 2048 @@ -147,8 +146,6 @@ typedef struct ConnectedCU { char portNumber[NI_MAXSERV] {}; char enodbName[MAX_ENODB_NAME_SIZE] {}; char asnData[RECEIVE_SCTP_BUFFER_SIZE] {}; - int rcvMsgs = 0; - int sentMesgs = 0; size_t asnLength = 0; int mtype = 0; bool isConnected = false; @@ -182,6 +179,7 @@ typedef struct ReportingMessages { long outLen = 0; unsigned char base64Data[RECEIVE_SCTP_BUFFER_SIZE * 2] {}; char buffer[RECEIVE_SCTP_BUFFER_SIZE * 8] {}; + StatCollector *statCollector = nullptr; } ReportingMessages_t; cxxopts::ParseResult parse(int argc, char *argv[], sctp_params_t &pSctpParams);