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
RLC BO, BO response and DL Data handling. [Issue-ID: ODUHIGH-181]
[o-du/l2.git]
/
src
/
cu_stub
/
cu_stub_egtp.c
diff --git
a/src/cu_stub/cu_stub_egtp.c
b/src/cu_stub/cu_stub_egtp.c
index
ff8f2d5
..
b5172a7
100644
(file)
--- a/
src/cu_stub/cu_stub_egtp.c
+++ b/
src/cu_stub/cu_stub_egtp.c
@@
-520,7
+520,7
@@
S16 cuEgtpDecodeHdr(Buffer *mBuf)
U8 extHdrLen = 0; /* Extension hdr length */
Bool extPres = FALSE; /* Flag for indication of S, E or P presense flag */
U8 extHdrLen = 0; /* Extension hdr length */
Bool extPres = FALSE; /* Flag for indication of S, E or P presense flag */
- ODU_
FIND
_MSG_LEN(mBuf, &bufLen);
+ ODU_
GET
_MSG_LEN(mBuf, &bufLen);
/* Decode version */
ODU_REM_PRE_MSG(&tmpByte[0], mBuf);
/* Decode version */
ODU_REM_PRE_MSG(&tmpByte[0], mBuf);
@@
-676,7
+676,7
@@
S16 BuildAppMsg(EgtpMsg *egtpMsg)
MsgLen mLen;
mLen = 0;
MsgLen mLen;
mLen = 0;
- ODU_
FIND
_MSG_LEN(mBuf, &mLen);
+ ODU_
GET
_MSG_LEN(mBuf, &mLen);
cmMemset((U8 *)&ipv4Hdr, 0, sizeof(CmIpv4Hdr));
ipv4Hdr.length = CM_IPV4_HDRLEN + mLen;
cmMemset((U8 *)&ipv4Hdr, 0, sizeof(CmIpv4Hdr));
ipv4Hdr.length = CM_IPV4_HDRLEN + mLen;
@@
-785,7
+785,7
@@
S16 BuildEgtpMsg(EgtpMsg *egtpMsg)
teidCb->preEncodedHdr.hdr[EGTP_MAX_HDR_LEN - 1] &= ~(EGTP_MASK_BIT3);
}
teidCb->preEncodedHdr.hdr[EGTP_MAX_HDR_LEN - 1] &= ~(EGTP_MASK_BIT3);
}
- ODU_
FIND
_MSG_LEN(egtpMsg->msg, &tPduSize);
+ ODU_
GET
_MSG_LEN(egtpMsg->msg, &tPduSize);
/*Adjust the header to fill the correct length*/
msgLen = tPduSize + (EGTP_MAX_HDR_LEN - hdrLen) - 0x08;
/*Adjust the header to fill the correct length*/
msgLen = tPduSize + (EGTP_MAX_HDR_LEN - hdrLen) - 0x08;