Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
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
spbro
OpenXG-RAN
Commits
e67d1c88
Commit
e67d1c88
authored
Jul 19, 2022
by
Sakthivel Velumani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace RNTI with UE ID in GTP files
(half done. Laurent to change ctxt_t)
parent
7a141e8e
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
85 additions
and
85 deletions
+85
-85
openair2/COMMON/gtpv1_u_messages_types.h
openair2/COMMON/gtpv1_u_messages_types.h
+33
-33
openair2/COMMON/platform_types.h
openair2/COMMON/platform_types.h
+1
-1
openair3/ocp-gtpu/gtp_itf.cpp
openair3/ocp-gtpu/gtp_itf.cpp
+51
-51
No files found.
openair2/COMMON/gtpv1_u_messages_types.h
View file @
e67d1c88
...
@@ -133,39 +133,39 @@ typedef struct gtpv1u_enb_data_forwarding_req_s {
...
@@ -133,39 +133,39 @@ typedef struct gtpv1u_enb_data_forwarding_req_s {
}
gtpv1u_enb_data_forwarding_req_t
;
}
gtpv1u_enb_data_forwarding_req_t
;
typedef
struct
gtpv1u_enb_data_forwarding_ind_s
{
typedef
struct
gtpv1u_enb_data_forwarding_ind_s
{
uint32_t
frame
;
uint32_t
frame
;
uint8_t
enb_flag
;
uint8_t
enb_flag
;
rb_id_t
rb_id
;
rb_id_t
rb_id
;
uint32_t
muip
;
uint32_t
muip
;
uint32_t
confirmp
;
uint32_t
confirmp
;
uint32_t
sdu_size
;
uint32_t
sdu_size
;
uint8_t
*
sdu_p
;
uint8_t
*
sdu_p
;
uint8_t
mode
;
uint8_t
mode
;
uint16_t
rnti
;
uint16_t
rnti
;
uint8_t
module_id
;
uint8_t
module_id
;
uint8_t
eNB_index
;
uint8_t
eNB_index
;
}
gtpv1u_enb_data_forwarding_ind_t
;
}
gtpv1u_enb_data_forwarding_ind_t
;
typedef
struct
gtpv1u_enb_end_marker_req_s
{
typedef
struct
gtpv1u_enb_end_marker_req_s
{
uint8_t
*
buffer
;
uint8_t
*
buffer
;
uint32_t
length
;
uint32_t
length
;
uint32_t
offset
;
///< start of message offset in buffer
uint32_t
offset
;
///< start of message offset in buffer
rnti_t
rnti
;
rnti_t
rnti
;
rb_id_t
rab_id
;
rb_id_t
rab_id
;
}
gtpv1u_enb_end_marker_req_t
;
}
gtpv1u_enb_end_marker_req_t
;
typedef
struct
gtpv1u_enb_end_marker_ind_s
{
typedef
struct
gtpv1u_enb_end_marker_ind_s
{
uint32_t
frame
;
uint32_t
frame
;
uint8_t
enb_flag
;
uint8_t
enb_flag
;
rb_id_t
rb_id
;
rb_id_t
rb_id
;
uint32_t
muip
;
uint32_t
muip
;
uint32_t
confirmp
;
uint32_t
confirmp
;
uint32_t
sdu_size
;
uint32_t
sdu_size
;
uint8_t
*
sdu_p
;
uint8_t
*
sdu_p
;
uint8_t
mode
;
uint8_t
mode
;
uint16_t
rnti
;
uint16_t
rnti
;
uint8_t
module_id
;
uint8_t
module_id
;
uint8_t
eNB_index
;
uint8_t
eNB_index
;
}
gtpv1u_enb_end_marker_ind_t
;
}
gtpv1u_enb_end_marker_ind_t
;
typedef
struct
{
typedef
struct
{
...
@@ -177,7 +177,7 @@ typedef struct {
...
@@ -177,7 +177,7 @@ typedef struct {
typedef
struct
gtpv1u_gnb_create_tunnel_req_s
{
typedef
struct
gtpv1u_gnb_create_tunnel_req_s
{
rnti_t
rnti
;
ue_id_t
ue_id
;
int
num_tunnels
;
int
num_tunnels
;
//teid_t upf_NGu_teid[NR_GTPV1U_MAX_BEARERS_PER_UE]; ///< Tunnel Endpoint Identifier
//teid_t upf_NGu_teid[NR_GTPV1U_MAX_BEARERS_PER_UE]; ///< Tunnel Endpoint Identifier
teid_t
outgoing_teid
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
teid_t
outgoing_teid
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
...
@@ -191,20 +191,20 @@ typedef struct gtpv1u_gnb_create_tunnel_req_s {
...
@@ -191,20 +191,20 @@ typedef struct gtpv1u_gnb_create_tunnel_req_s {
typedef
struct
gtpv1u_gnb_create_tunnel_resp_s
{
typedef
struct
gtpv1u_gnb_create_tunnel_resp_s
{
uint8_t
status
;
///< Status of S1U endpoint creation (Failed = 0xFF or Success = 0x0)
uint8_t
status
;
///< Status of S1U endpoint creation (Failed = 0xFF or Success = 0x0)
rnti_t
rnti
;
ue_id_t
ue_id
;
int
num_tunnels
;
int
num_tunnels
;
teid_t
gnb_NGu_teid
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
///< Tunnel Endpoint Identifier
teid_t
gnb_NGu_teid
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
///< Tunnel Endpoint Identifier
pdusessionid_t
pdusession_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
pdusessionid_t
pdusession_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
transport_layer_addr_t
gnb_addr
;
transport_layer_addr_t
gnb_addr
;
}
gtpv1u_gnb_create_tunnel_resp_t
;
}
gtpv1u_gnb_create_tunnel_resp_t
;
typedef
struct
gtpv1u_gnb_delete_tunnel_req_s
{
typedef
struct
gtpv1u_gnb_delete_tunnel_req_s
{
rnti_t
rnti
;
ue_id_t
ue_id
;
uint8_t
num_pdusession
;
uint8_t
num_pdusession
;
pdusessionid_t
pdusession_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
pdusessionid_t
pdusession_id
[
NR_GTPV1U_MAX_BEARERS_PER_UE
];
}
gtpv1u_gnb_delete_tunnel_req_t
;
}
gtpv1u_gnb_delete_tunnel_req_t
;
typedef
struct
gtpv1u_gnb_delete_tunnel_resp_s
{
typedef
struct
gtpv1u_gnb_delete_tunnel_resp_s
{
rnti_t
rnti
;
ue_id_t
ue_id
;
uint8_t
status
;
///< Status of NGU endpoint deleteion (Failed = 0xFF or Success = 0x0)
uint8_t
status
;
///< Status of NGU endpoint deleteion (Failed = 0xFF or Success = 0x0)
teid_t
gnb_NGu_teid
;
///< local NGU Tunnel Endpoint Identifier to be deleted
teid_t
gnb_NGu_teid
;
///< local NGU Tunnel Endpoint Identifier to be deleted
}
gtpv1u_gnb_delete_tunnel_resp_t
;
}
gtpv1u_gnb_delete_tunnel_resp_t
;
...
@@ -212,13 +212,13 @@ typedef struct gtpv1u_gnb_tunnel_data_req_s {
...
@@ -212,13 +212,13 @@ typedef struct gtpv1u_gnb_tunnel_data_req_s {
uint8_t
*
buffer
;
uint8_t
*
buffer
;
uint32_t
length
;
uint32_t
length
;
uint32_t
offset
;
///< start of message offset in buffer
uint32_t
offset
;
///< start of message offset in buffer
rnti_t
rnti
;
ue_id_t
ue_id
;
pdusessionid_t
pdusession_id
;
pdusessionid_t
pdusession_id
;
}
gtpv1u_gnb_tunnel_data_req_t
;
}
gtpv1u_gnb_tunnel_data_req_t
;
typedef
struct
gtpv1u_DU_buffer_report_req_s
{
typedef
struct
gtpv1u_DU_buffer_report_req_s
{
uint32_t
buffer_availability
;
uint32_t
buffer_availability
;
rnti_t
rnti
;
ue_id_t
ue_id
;
pdusessionid_t
pdusession_id
;
pdusessionid_t
pdusession_id
;
}
gtpv1u_DU_buffer_report_req_t
;
}
gtpv1u_DU_buffer_report_req_t
;
...
...
openair2/COMMON/platform_types.h
View file @
e67d1c88
...
@@ -49,7 +49,7 @@ typedef uint32_t slot_t;
...
@@ -49,7 +49,7 @@ typedef uint32_t slot_t;
typedef
uint16_t
module_id_t
;
typedef
uint16_t
module_id_t
;
typedef
uint8_t
slice_id_t
;
typedef
uint8_t
slice_id_t
;
typedef
uint8_t
eNB_index_t
;
typedef
uint8_t
eNB_index_t
;
typedef
uint
16
_t
ue_id_t
;
typedef
uint
64
_t
ue_id_t
;
typedef
int16_t
smodule_id_t
;
typedef
int16_t
smodule_id_t
;
typedef
long
rb_id_t
;
typedef
long
rb_id_t
;
typedef
long
srb_id_t
;
typedef
long
srb_id_t
;
...
...
openair3/ocp-gtpu/gtp_itf.cpp
View file @
e67d1c88
This diff is collapsed.
Click to expand it.
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