- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
/* "standalone" module to store a "secondary" UE ID for each UE in DU/CU.
|
|
* Separate from the rest of F1, as it is also relevant for monolithic. */
|
|
|
|
#ifndef F1AP_IDS_H_
|
|
#define F1AP_IDS_H_
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/sctp.h>
|
|
|
|
typedef struct f1_ue_data_t {
|
|
uint32_t secondary_ue;
|
|
sctp_assoc_t e1_assoc_id;
|
|
sctp_assoc_t du_assoc_id; // only used at the CU
|
|
} f1_ue_data_t;
|
|
|
|
void cu_init_f1_ue_data(void);
|
|
bool cu_add_f1_ue_data(uint32_t ue_id, const f1_ue_data_t *data);
|
|
bool cu_exists_f1_ue_data(uint32_t ue_id);
|
|
bool cu_update_f1_ue_data(uint32_t ue_id, const f1_ue_data_t *data);
|
|
f1_ue_data_t cu_get_f1_ue_data(uint32_t ue_id);
|
|
bool cu_remove_f1_ue_data(uint32_t ue_id);
|
|
|
|
void du_init_f1_ue_data(void);
|
|
bool du_add_f1_ue_data(uint32_t ue_id, const f1_ue_data_t *data);
|
|
bool du_exists_f1_ue_data(uint32_t ue_id);
|
|
f1_ue_data_t du_get_f1_ue_data(uint32_t ue_id);
|
|
bool du_remove_f1_ue_data(uint32_t ue_id);
|
|
|
|
#endif /* F1AP_IDS_H_ */
|