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
d162c289
Commit
d162c289
authored
Oct 17, 2025
by
Franck Messaoudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove: removing non-used header file
parent
54e54a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
56 deletions
+0
-56
src/upf_app/bpf/rules/include/pfcp_session_pdr_lookup_maps.h
src/upf_app/bpf/rules/include/pfcp_session_pdr_lookup_maps.h
+0
-56
No files found.
src/upf_app/bpf/rules/include/pfcp_session_pdr_lookup_maps.h
deleted
100644 → 0
View file @
54e54a44
#ifndef __PFCP_SESSION_PDR_LOOKUP_MAPS_H__
#define __PFCP_SESSION_PDR_LOOKUP_MAPS_H__
#include <linux/bpf.h>
#include <types.h>
#include <pfcp/pfcp_pdr.h>
#include <pfcp/pfcp_far.h>
#include <ie/fteid.h>
#include <ie/fseid.h>
#define MAX_LENGTH 10000
#define PDR_ENTRIES_MAX_SIZE 10000
#define FAR_ENTRIES_MAX_SIZE 10000
#define ARP_ENTRIES_MAX_SIZE 12
/*---------------------------------------------------------------------------------------------------------------*/
struct
{
__uint
(
type
,
BPF_MAP_TYPE_HASH
);
__uint
(
max_entries
,
FAR_ENTRIES_MAX_SIZE
);
__type
(
key
,
u32
);
// teid
__type
(
value
,
pfcp_far_t_
);
// list of pdr
}
m_fars
SEC
(
".maps"
);
/*---------------------------------------------------------------------------------------------------------------*/
struct
{
__uint
(
type
,
BPF_MAP_TYPE_DEVMAP
);
__uint
(
max_entries
,
MAX_LENGTH
);
__type
(
key
,
u32
);
// id
__type
(
value
,
u32
);
// tx port
}
m_redirect_interfaces
SEC
(
".maps"
);
/*---------------------------------------------------------------------------------------------------------------*/
struct
{
__uint
(
type
,
BPF_MAP_TYPE_HASH
);
__uint
(
max_entries
,
PDR_ENTRIES_MAX_SIZE
);
__type
(
key
,
teid_t_
);
// teid
__type
(
value
,
pfcp_pdr_t_
);
// assuming only one PDR
}
m_teid_pdr
SEC
(
".maps"
);
/*---------------------------------------------------------------------------------------------------------------*/
struct
{
__uint
(
type
,
BPF_MAP_TYPE_HASH
);
__uint
(
max_entries
,
PDR_ENTRIES_MAX_SIZE
);
__type
(
key
,
u32
);
// UE IP address
__type
(
value
,
pfcp_pdr_t_
);
// assuming only one PDR
}
m_ueip_pdr
SEC
(
".maps"
);
/*---------------------------------------------------------------------------------------------------------------*/
struct
{
__uint
(
type
,
BPF_MAP_TYPE_HASH
);
__uint
(
max_entries
,
ARP_ENTRIES_MAX_SIZE
);
__type
(
key
,
u32
);
// IPv4 address
__type
(
value
,
unsigned
char
[
8
]);
// MAC address
}
m_arp_table
SEC
(
".maps"
);
#endif // __PFCP_SESSION_PDR_LOOKUP_MAPS_H__
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