Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
f30e4818
Commit
f30e4818
authored
Nov 06, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5996
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
9d2408fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c
+2
-6
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
+4
-1
No files found.
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1u.c
View file @
f30e4818
...
...
@@ -521,12 +521,8 @@ nwGtpv1uProcessGpdu( NwGtpv1uStackT *thiz,
*/
if
(
NW_GTPV1U_OK
==
rc
)
{
NwGtpv1uMsgT
*
pMsg
=
(
NwGtpv1uMsgT
*
)
hMsg
;
GTPU_DEBUG
(
"Received T-PDU over tunnel end-point '%x' of size %u (decapsulated %u)from "
NW_IPV4_ADDR
"
\n
"
,
ntohl
(
msgHdr
->
teid
),
gpduLen
,
pMsg
->
msgLen
,
NW_IPV4_ADDR_FORMAT
((
peerIp
)));
AssertFatal
(
gpduLen
==
(
pMsg
->
msgLen
+
pMsg
->
msgBufOffset
),
"Mismatch gpduLen %u / buffer offset %u / msg len %u / buffer len %u"
,
gpduLen
,
pMsg
->
msgBufOffset
,
pMsg
->
msgLen
,
pMsg
->
msgBufLen
);
GTPU_DEBUG
(
"Received T-PDU over tunnel end-point '%x' of size %u (%u) (decapsulated %u)from "
NW_IPV4_ADDR
"
\n
"
,
ntohl
(
msgHdr
->
teid
),
gpduLen
,
pMsg
->
msgLen
,
pMsg
->
msgBufLen
,
NW_IPV4_ADDR_FORMAT
((
peerIp
)));
rc
=
nwGtpSessionSendMsgApiToUlpEntity
(
pTunnelEndPoint
,
pMsg
);
}
...
...
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
View file @
f30e4818
...
...
@@ -271,7 +271,10 @@ nwGtpv1uMsgFromBufferNew( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle,
pMsg
->
nextExtHdrType
=
*
(
pBuf
++
);
}
pMsg
->
msgBufOffset
=
(
NwU32T
)(
pBuf
-
pMsg
->
msgBuf
);
pMsg
->
msgLen
=
bufLen
-
pMsg
->
msgBufOffset
;
pMsg
->
msgBufLen
=
bufLen
-
pMsg
->
msgBufOffset
;
pMsg
->
msgLen
=
bufLen
;
GTPU_DEBUG
(
"nwGtpv1uMsgFromBufferNew() msgLen %u msgBufLen %u msgBufOffset %u "
,
pMsg
->
msgLen
,
pMsg
->
msgBufLen
,
pMsg
->
msgBufOffset
);
*
phMsg
=
(
NwGtpv1uMsgHandleT
)
pMsg
;
return
NW_GTPV1U_OK
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment