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
c5006cf4
Commit
c5006cf4
authored
Oct 05, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e1ap_common.h without E1AP ASN dependency
parent
2136ceec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
openair2/E1AP/e1ap_common.c
openair2/E1AP/e1ap_common.c
+2
-2
openair2/E1AP/e1ap_common.h
openair2/E1AP/e1ap_common.h
+7
-5
No files found.
openair2/E1AP/e1ap_common.c
View file @
c5006cf4
...
...
@@ -75,7 +75,7 @@ static bool check_transac_id(E1AP_TransactionID_t id, int *freeIdx)
return
true
;
}
E1AP_TransactionID_t
E1AP_get_next_transaction_identifier
()
{
long
E1AP_get_next_transaction_identifier
()
{
E1AP_TransactionID_t
genTransacId
;
bool
isTransacIdValid
=
false
;
int
freeIdx
=
0
;
...
...
@@ -90,7 +90,7 @@ E1AP_TransactionID_t E1AP_get_next_transaction_identifier() {
return
genTransacId
;
}
void
E1AP_free_transaction_identifier
(
E1AP_TransactionID_t
id
)
{
void
E1AP_free_transaction_identifier
(
long
id
)
{
for
(
int
i
=
0
;
i
<
E1AP_MAX_NUM_TRANSAC_IDS
;
i
++
)
{
if
(
id
==
transacID
[
i
])
{
...
...
openair2/E1AP/e1ap_common.h
View file @
c5006cf4
...
...
@@ -24,7 +24,6 @@
#ifndef E1AP_COMMON_H_
#define E1AP_COMMON_H_
#include "openair2/COMMON/e1ap_messages_types.h"
#include "e1ap_asnc.h"
#include "openair2/COMMON/sctp_messages_types.h"
#include "common/ngran_types.h"
...
...
@@ -43,17 +42,20 @@ typedef struct e1ap_upcp_inst_s {
extern
int
asn1_xer_print
;
int
e1ap_decode_pdu
(
E1AP_E1AP_PDU_t
*
pdu
,
const
uint8_t
*
const
buffer
,
uint32_t
length
);
// forward declaration so we don't require E1AP ASN.1 when including this
// header
struct
E1AP_E1AP_PDU
;
int
e1ap_decode_pdu
(
struct
E1AP_E1AP_PDU
*
pdu
,
const
uint8_t
*
const
buffer
,
uint32_t
length
);
e1ap_upcp_inst_t
*
getCxtE1
(
instance_t
instance
);
E1AP_TransactionID_t
E1AP_get_next_transaction_identifier
();
long
E1AP_get_next_transaction_identifier
();
void
E1AP_free_transaction_identifier
(
long
id
);
void
createE1inst
(
E1_t
type
,
instance_t
instance
,
e1ap_net_config_t
*
nc
,
e1ap_setup_req_t
*
req
);
int
e1ap_encode_send
(
E1_t
type
,
sctp_assoc_t
assoc_id
,
E1AP_E1AP_PDU_t
*
pdu
,
uint16_t
stream
,
const
char
*
func
);
int
e1ap_encode_send
(
E1_t
type
,
sctp_assoc_t
assoc_id
,
struct
E1AP_E1AP_PDU
*
pdu
,
uint16_t
stream
,
const
char
*
func
);
void
e1ap_common_init
();
void
E1AP_free_transaction_identifier
(
E1AP_TransactionID_t
id
);
#endif
/* E1AP_COMMON_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