Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "correction in F1AP message based on wireshark logs"
[o-du/l2.git]
/
src
/
rlog
/
rl_rlog.c
diff --git
a/src/rlog/rl_rlog.c
b/src/rlog/rl_rlog.c
index
cb44af5
..
9cb1836
100644
(file)
--- a/
src/rlog/rl_rlog.c
+++ b/
src/rlog/rl_rlog.c
@@
-741,7
+741,7
@@
void* rLogServer(void* arg)
int newsockfd;
int clilen = 0;
int domain = AF_INET;
int newsockfd;
int clilen = 0;
int domain = AF_INET;
- memset(
(void*)
&serv_addr, 0, sizeof(serv_addr));
+ memset(&serv_addr, 0, sizeof(serv_addr));
if(gIpType == CM_IPV4ADDR_TYPE)
if(gIpType == CM_IPV4ADDR_TYPE)
@@
-1311,17
+1311,6
@@
void saveLogData(const void* buf, U16 len, U32 g_rlogWritePosIndex)
}
}
-#if 0
-void storeTimeDelimeter(FILE* fp)
-{
- LOGDATA logData;
- logData.logId = L_TIME_DELIMITER;
- logData.argType = 0;
- logData.logLevel = 0;
- logData.numOfArgs = 0;
- logData.len = 0;
-}
-#endif
void sendToPostProcessor(const void* buf, U16 len)
{
if( send(g_nCliSocket, buf, len, 0 ) == -1 ) {
void sendToPostProcessor(const void* buf, U16 len)
{
if( send(g_nCliSocket, buf, len, 0 ) == -1 ) {
@@
-1711,12
+1700,12
@@
void rlUpdateRlogTti(Void)
*/
#ifdef ANSI
*/
#ifdef ANSI
-
PUBLIC
Void rlProcessLogBufFromL2
+Void rlProcessLogBufFromL2
(
void *mBuf
)
#else
(
void *mBuf
)
#else
-
PUBLIC
Void rlProcessLogBufFromL2(mBuf)
+Void rlProcessLogBufFromL2(mBuf)
void *mBuf;
#endif
{
void *mBuf;
#endif
{
@@
-1740,7
+1729,7
@@
PUBLIC Void rlProcessLogBufFromL2(mBuf)
/* This function will get tick from RLC/CL and will process logs
according to tick threshold. Tick threshold is SOC specific */
/* This function will get tick from RLC/CL and will process logs
according to tick threshold. Tick threshold is SOC specific */
-
PUBLIC
Void rlProcessTicks(void)
+Void rlProcessTicks(void)
{
static U32 rlogTickCount;
numTtiTicks++;
{
static U32 rlogTickCount;
numTtiTicks++;
@@
-1782,7
+1771,7
@@
PUBLIC Void rlProcessTicks(void)
// @out : void
//////////////////////////////////////////////////////////////////////////
// @out : void
//////////////////////////////////////////////////////////////////////////
-
PUBLIC
Void readL2LogBuff(void)
+Void readL2LogBuff(void)
{
/* Validate global buffer pointer and length */
U8 ret;
{
/* Validate global buffer pointer and length */
U8 ret;
@@
-1810,9
+1799,9
@@
PUBLIC Void readL2LogBuff(void)
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
-
PUBLIC
S16 rlValidateL2LogBuf(void)
+S16 rlValidateL2LogBuf(void)
#else
#else
-
PUBLIC
S16 rlValidateL2LogBuf(void)
+S16 rlValidateL2LogBuf(void)
#endif
{
S16 ret = ROK;
#endif
{
S16 ret = ROK;
@@
-1844,13
+1833,13
@@
PUBLIC S16 rlValidateL2LogBuf(void)
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
-
PUBLIC
void rlSetL2LogBuf
+void rlSetL2LogBuf
(
U8 *l2LogBuf,
U32 l2logLen
)
#else
(
U8 *l2LogBuf,
U32 l2logLen
)
#else
-
PUBLIC
void rlSetL2LogBuf(l2LogBuf,l2logLen)
+void rlSetL2LogBuf(l2LogBuf,l2logLen)
U8 *l2LogBuf;
U32 l2logLen;
#endif
U8 *l2LogBuf;
U32 l2logLen;
#endif
@@
-1867,12
+1856,12
@@
U32 l2logLen;
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
//////////////////////////////////////////////////////////////////////////
#ifdef ANSI
-
PUBLIC
void rlResetL2LogBuf
+void rlResetL2LogBuf
(
void
)
#else
(
void
)
#else
-
PUBLIC
void rlResetL2LogBuf(void)
+void rlResetL2LogBuf(void)
#endif
{
g_logBufRcvdFromL2 = NULL;
#endif
{
g_logBufRcvdFromL2 = NULL;