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
55b6f1ce
Commit
55b6f1ce
authored
Jul 29, 2020
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix for UPF
parent
c7927169
Changes
1
Hide 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 @
55b6f1ce
...
@@ -120,6 +120,11 @@ void spgwu_s1u::handle_receive(char* recv_buffer, const std::size_t bytes_transf
...
@@ -120,6 +120,11 @@ void spgwu_s1u::handle_receive(char* recv_buffer, const std::size_t bytes_transf
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