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
cbc2eaa0
Commit
cbc2eaa0
authored
Apr 11, 2025
by
Franck Messaoudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove: removed debug functions
parent
b43464c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
src/upf_app/SessionManager.cpp
src/upf_app/SessionManager.cpp
+0
-21
src/upf_app/SessionManager.h
src/upf_app/SessionManager.h
+0
-2
No files found.
src/upf_app/SessionManager.cpp
View file @
cbc2eaa0
...
...
@@ -166,17 +166,6 @@ bool SessionManager::getFar(
return
(
pdr
->
get
(
farId
)
&&
session
->
get
(
farId
.
far_id
,
outFar
));
}
//---------------------------------------------------------------------------------------------------------------
void
SessionManager
::
printPDRs
(
const
std
::
vector
<
std
::
shared_ptr
<
pfcp
::
pfcp_pdr
>>
pdrs
)
{
bool
first
=
true
;
for
(
const
auto
&
pdr
:
pdrs
)
{
if
(
!
first
)
std
::
cout
<<
", "
;
std
::
cout
<<
pdr
->
pdr_id
.
rule_id
;
first
=
false
;
}
std
::
cout
<<
"]"
<<
std
::
endl
;
}
//---------------------------------------------------------------------------------------------------------------
void
SessionManager
::
createBpfSession
(
std
::
shared_ptr
<
pfcp
::
pfcp_session
>
session
,
...
...
@@ -197,11 +186,6 @@ void SessionManager::createBpfSession(
sortPDRs
(
session
->
pdrs_uplink
);
sortPDRs
(
session
->
pdrs_downlink
);
std
::
cout
<<
"Uplink PDRs:["
;
printPDRs
(
session
->
pdrs_uplink
);
std
::
cout
<<
"Downlink PDRs:["
;
printPDRs
(
session
->
pdrs_downlink
);
// for (auto direction : {Direction::Uplink, Direction::Downlink}) {
// auto& pdrs = (direction == Direction::Uplink) ? session->pdrs_uplink :
// session->pdrs_downlink;
...
...
@@ -299,11 +283,6 @@ void SessionManager::modifyBpfSession(
sortPDRs
(
session
->
pdrs_uplink
);
sortPDRs
(
session
->
pdrs_downlink
);
std
::
cout
<<
"Uplink PDRs:["
;
printPDRs
(
session
->
pdrs_uplink
);
std
::
cout
<<
"Downlink PDRs:["
;
printPDRs
(
session
->
pdrs_downlink
);
pfcp
::
pdi
pdi
;
pfcp
::
fteid_t
fteid
;
pfcp
::
ue_ip_address_t
ueIpAddress
;
...
...
src/upf_app/SessionManager.h
View file @
cbc2eaa0
...
...
@@ -120,8 +120,6 @@ class SessionManager {
std
::
shared_ptr
<
pfcp
::
pfcp_qer
>
findQER
(
std
::
shared_ptr
<
pfcp
::
pfcp_session
>
session
,
uint32_t
qer_id
);
void
printPDRs
(
const
std
::
vector
<
std
::
shared_ptr
<
pfcp
::
pfcp_pdr
>>
pdrs
);
void
setupEbpfPipeline
(
std
::
shared_ptr
<
pfcp
::
pfcp_session
>
session
,
std
::
vector
<
std
::
shared_ptr
<
pfcp
::
pfcp_pdr
>>&
pdrs
,
Direction
direction
);
...
...
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