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
fda3eef1
Commit
fda3eef1
authored
Oct 21, 2025
by
Franck Messaoudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: fix issue of map_redirect
parent
9dd76582
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/upf_app/programs/pfcp_session_lookup_xdp_user.cpp
src/upf_app/programs/pfcp_session_lookup_xdp_user.cpp
+7
-7
No files found.
src/upf_app/programs/pfcp_session_lookup_xdp_user.cpp
View file @
fda3eef1
...
@@ -15,11 +15,6 @@
...
@@ -15,11 +15,6 @@
using
namespace
oai
::
config
;
using
namespace
oai
::
config
;
extern
upf_config
upf_cfg
;
extern
upf_config
upf_cfg
;
const
std
::
string
UDP_INTERFACE
=
UserPlaneComponent
::
getInstance
().
getUDPInterface
();
const
std
::
string
GTP_INTERFACE
=
UserPlaneComponent
::
getInstance
().
getGTPInterface
();
using
namespace
oai
::
utils
::
net
;
using
namespace
oai
::
utils
::
net
;
using
namespace
oai
::
utils
::
bpf
;
using
namespace
oai
::
utils
::
bpf
;
...
@@ -189,8 +184,13 @@ void PFCP_Session_LookupProgram::setup(bool isQosEnabled) {
...
@@ -189,8 +184,13 @@ void PFCP_Session_LookupProgram::setup(bool isQosEnabled) {
Logger
::
upf_app
().
debug
(
"Configure redirect interface"
);
Logger
::
upf_app
().
debug
(
"Configure redirect interface"
);
uint32_t
udpInterfaceIndex
=
if_nametoindex
(
UDP_INTERFACE
.
c_str
());
const
std
::
string
udpIface
=
uint32_t
gtpInterfaceIndex
=
if_nametoindex
(
UDP_INTERFACE
.
c_str
());
UserPlaneComponent
::
getInstance
().
getUDPInterface
();
const
std
::
string
gtpIface
=
UserPlaneComponent
::
getInstance
().
getGTPInterface
();
uint32_t
udpInterfaceIndex
=
if_nametoindex
(
udpIface
.
c_str
());
uint32_t
gtpInterfaceIndex
=
if_nametoindex
(
gtpIface
.
c_str
());
uint32_t
uplinkId
=
static_cast
<
uint32_t
>
(
FlowDirection
::
UPLINK
);
uint32_t
uplinkId
=
static_cast
<
uint32_t
>
(
FlowDirection
::
UPLINK
);
uint32_t
downlinkId
=
static_cast
<
uint32_t
>
(
FlowDirection
::
DOWNLINK
);
uint32_t
downlinkId
=
static_cast
<
uint32_t
>
(
FlowDirection
::
DOWNLINK
);
...
...
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