Code Review
/
ric-plt
/
e2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
version 4.0.3
[ric-plt/e2.git]
/
RIC-E2-TERMINATION
/
sctpThread.h
diff --git
a/RIC-E2-TERMINATION/sctpThread.h
b/RIC-E2-TERMINATION/sctpThread.h
index
f6b9752
..
637dd17
100644
(file)
--- 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"
#include "cxxopts.hpp"
//#include "config-cpp/include/config-cpp/config-cpp.h"
-#ifdef __TRACING__
-#include "openTracing.h"
-#endif
#include "mapWrapper.h"
#include "mapWrapper.h"
+#include "statCollector.h"
#include "base64.h"
#include "base64.h"
@@
-114,6
+112,7
@@
namespace expr = boost::log::expressions;
typedef mapWrapper Sctp_Map_t;
typedef mapWrapper Sctp_Map_t;
+
#define VOLUME_URL_SIZE 256
#define KA_MESSAGE_SIZE 2048
#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] {};
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;
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] {};
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);
} ReportingMessages_t;
cxxopts::ParseResult parse(int argc, char *argv[], sctp_params_t &pSctpParams);