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
常顺宇
OpenXG-RAN
Commits
00f23d26
Commit
00f23d26
authored
Jun 02, 2014
by
Lionel Gauthier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5364
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
350ea3b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
+3
-1
No files found.
openair-cn/GTPV1-U/nw-gtpv1u/src/NwGtpv1uMsg.c
View file @
00f23d26
...
...
@@ -97,7 +97,8 @@ nwGtpv1uMsgNew( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle,
pMsg
->
msgLen
=
((
pMsg
->
seqNumFlag
||
pMsg
->
npduNumFlag
||
pMsg
->
extHdrFlag
)
?
NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE
:
(
NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE
-
4
));
4
:
0
);
//NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE : (NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE - 4));
*
phMsg
=
(
NwGtpv1uMsgHandleT
)
pMsg
;
return
NW_GTPV1U_OK
;
...
...
@@ -142,6 +143,7 @@ nwGtpv1uGpduMsgNew( NW_IN NwGtpv1uStackHandleT hGtpuStackHandle,
memcpy
(
pMsg
->
msgBuf
+
pMsg
->
msgLen
,
tpdu
,
tpduLength
);
pMsg
->
msgLen
+=
tpduLength
;
pMsg
->
msgLen
-=
8
;
*
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