Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
oai-upf-6g
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
oai-upf-6g
Commits
c71a1521
Commit
c71a1521
authored
May 29, 2025
by
Franck Messaoudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: fixing the trasport protocol ports machine order
parent
7139447d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/upf_app/bpf/rules/pdr/pfcp_session_lookup_xdp_kernel.c
src/upf_app/bpf/rules/pdr/pfcp_session_lookup_xdp_kernel.c
+4
-4
No files found.
src/upf_app/bpf/rules/pdr/pfcp_session_lookup_xdp_kernel.c
View file @
c71a1521
...
...
@@ -705,8 +705,8 @@ static __always_inline struct session_id* pfcp_session_lookup_over_n6(
return
NULL
;
}
packet_filter_out
->
src_port
=
udph
->
source
;
packet_filter_out
->
dst_port
=
udph
->
dest
;
packet_filter_out
->
src_port
=
bpf_htons
(
udph
->
source
)
;
packet_filter_out
->
dst_port
=
bpf_htons
(
udph
->
dest
)
;
break
;
}
case
IPPROTO_TCP
:
{
...
...
@@ -717,8 +717,8 @@ static __always_inline struct session_id* pfcp_session_lookup_over_n6(
return
NULL
;
}
packet_filter_out
->
src_port
=
tcph
->
source
;
packet_filter_out
->
dst_port
=
tcph
->
dest
;
packet_filter_out
->
src_port
=
bpf_htons
(
tcph
->
source
)
;
packet_filter_out
->
dst_port
=
bpf_htons
(
tcph
->
dest
)
;
break
;
}
case
IPPROTO_ICMP
:
{
...
...
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