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
zzha zzha
OpenXG-RAN
Commits
374b6d8a
Commit
374b6d8a
authored
Jan 12, 2024
by
Guido Casati
Committed by
Robert Schmidt
Jan 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set E1AP functions with local scope as static
parent
6fca5680
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
openair2/E1AP/e1ap.c
openair2/E1AP/e1ap.c
+5
-4
No files found.
openair2/E1AP/e1ap.c
View file @
374b6d8a
...
@@ -73,7 +73,7 @@ const char *const e1ap_direction2String(int e1ap_dir)
...
@@ -73,7 +73,7 @@ const char *const e1ap_direction2String(int e1ap_dir)
return
(
e1ap_direction_String
[
e1ap_dir
]);
return
(
e1ap_direction_String
[
e1ap_dir
]);
}
}
int
e1ap_handle_message
(
instance_t
instance
,
sctp_assoc_t
assoc_id
,
const
uint8_t
*
const
data
,
const
uint32_t
data_length
)
static
int
e1ap_handle_message
(
instance_t
instance
,
sctp_assoc_t
assoc_id
,
const
uint8_t
*
const
data
,
const
uint32_t
data_length
)
{
{
E1AP_E1AP_PDU_t
pdu
=
{
0
};
E1AP_E1AP_PDU_t
pdu
=
{
0
};
int
ret
;
int
ret
;
...
@@ -105,7 +105,7 @@ int e1ap_handle_message(instance_t instance, sctp_assoc_t assoc_id, const uint8_
...
@@ -105,7 +105,7 @@ int e1ap_handle_message(instance_t instance, sctp_assoc_t assoc_id, const uint8_
return
ret
;
return
ret
;
}
}
void
e1_task_handle_sctp_data_ind
(
instance_t
instance
,
sctp_data_ind_t
*
sctp_data_ind
)
static
void
e1_task_handle_sctp_data_ind
(
instance_t
instance
,
sctp_data_ind_t
*
sctp_data_ind
)
{
{
int
result
;
int
result
;
DevAssert
(
sctp_data_ind
!=
NULL
);
DevAssert
(
sctp_data_ind
!=
NULL
);
...
@@ -310,8 +310,9 @@ void e1apCUCP_send_SETUP_FAILURE(sctp_assoc_t assoc_id, long transac_id)
...
@@ -310,8 +310,9 @@ void e1apCUCP_send_SETUP_FAILURE(sctp_assoc_t assoc_id, long transac_id)
e1ap_encode_send
(
CPtype
,
assoc_id
,
&
pdu
,
0
,
__func__
);
e1ap_encode_send
(
CPtype
,
assoc_id
,
&
pdu
,
0
,
__func__
);
}
}
void
extract_SETUP_REQUEST
(
const
E1AP_E1AP_PDU_t
*
pdu
,
static
void
extract_SETUP_REQUEST
(
const
E1AP_E1AP_PDU_t
*
pdu
,
e1ap_setup_req_t
*
req
)
{
e1ap_setup_req_t
*
req
)
{
E1AP_GNB_CU_UP_E1SetupRequestIEs_t
*
ie
;
E1AP_GNB_CU_UP_E1SetupRequestIEs_t
*
ie
;
E1AP_GNB_CU_UP_E1SetupRequest_t
*
in
=
&
pdu
->
choice
.
initiatingMessage
->
value
.
choice
.
GNB_CU_UP_E1SetupRequest
;
E1AP_GNB_CU_UP_E1SetupRequest_t
*
in
=
&
pdu
->
choice
.
initiatingMessage
->
value
.
choice
.
GNB_CU_UP_E1SetupRequest
;
...
...
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