Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-Spgwu-Tiny-Simple
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
Operations
Operations
Metrics
Environments
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
CommunityXG
OpenXG-Spgwu-Tiny-Simple
Commits
a7dc32fa
Commit
a7dc32fa
authored
Jan 13, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upf' into nrf
parents
66b16456
55b6f1ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/spgwu/simpleswitch/spgwu_s1u.cpp
src/spgwu/simpleswitch/spgwu_s1u.cpp
+5
-0
No files found.
src/spgwu/simpleswitch/spgwu_s1u.cpp
View file @
a7dc32fa
...
@@ -126,6 +126,11 @@ void spgwu_s1u::handle_receive(
...
@@ -126,6 +126,11 @@ void spgwu_s1u::handle_receive(
gtp_payload_offset
+=
4
;
gtp_payload_offset
+=
4
;
gtp_payload_length
-=
4
;
gtp_payload_length
-=
4
;
}
}
if
(
gtp_flags
&
0x04
)
{
gtp_payload_offset
+=
4
;
gtp_payload_length
-=
4
;
}
uint32_t
tunnel_id
=
be32toh
(
gtpuh
->
teid
);
uint32_t
tunnel_id
=
be32toh
(
gtpuh
->
teid
);
struct
iphdr
*
iph
=
(
struct
iphdr
*
)
&
recv_buffer
[
gtp_payload_offset
];
struct
iphdr
*
iph
=
(
struct
iphdr
*
)
&
recv_buffer
[
gtp_payload_offset
];
...
...
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