|
libe3 0.6.1
C++ library for E3AP RAN vendor integration
|
E3AP Protocol Types - Vendor-neutral type definitions. More...
#include <cstdint>#include <cstddef>#include <string>#include <vector>#include <variant>#include <optional>#include <chrono>#include <memory>#include "libe3/error_codes.h"Go to the source code of this file.
Classes | |
| struct | libe3::EncodedMessage |
| Encoded message wrapper. More... | |
| struct | libe3::RanFunctionDefinition |
| RAN Function definition (SM identification). More... | |
| struct | libe3::SetupRequest |
| E3AP Setup Request structure. More... | |
| struct | libe3::RanFunctionDef |
| RAN Function Definition for Setup Response. More... | |
| struct | libe3::SetupResponse |
| E3AP Setup Response structure. More... | |
| struct | libe3::SubscriptionRequest |
| E3AP Subscription Request structure. More... | |
| struct | libe3::SubscriptionDelete |
| E3AP Subscription Delete structure. More... | |
| struct | libe3::SubscriptionResponse |
| E3AP Subscription Response structure. More... | |
| struct | libe3::IndicationMessage |
| E3AP Indication Message structure. More... | |
| struct | libe3::DAppControlAction |
| E3AP dApp Control Action structure. More... | |
| struct | libe3::MessageAck |
| E3AP Message Acknowledgment structure. More... | |
| struct | libe3::ControlResponse |
| E3AP Control Response structure. More... | |
| struct | libe3::ControlResult |
| What a Service Model answers to a control (see ServiceModel::respond_to_control). More... | |
| struct | libe3::DAppReport |
| E3AP dApp Report structure. More... | |
| struct | libe3::XAppControlAction |
| E3AP xApp Control Action structure. More... | |
| struct | libe3::ReleaseMessage |
| E3AP Release Message structure. More... | |
| struct | libe3::Pdu |
| Generic E3AP PDU structure. More... | |
| struct | libe3::E3Config |
| Configuration for E3Agent. More... | |
| struct | libe3::DAppEntry |
| dApp registration entry More... | |
| struct | libe3::SubscriptionEntry |
| Subscription entry representing dApp-RAN function association. More... | |
Namespaces | |
| namespace | libe3 |
Macros | |
| #define | X(name, val) |
| Expands one entry of the shared error-code list to an enumerator. | |
| #define | X(name, val) |
| Expands one entry of the shared error-code list to an enumerator. | |
Typedefs | |
| using | libe3::PduChoice |
| Generic E3AP PDU using std::variant for type-safe union. | |
| using | libe3::Timestamp = std::chrono::time_point<std::chrono::steady_clock> |
| Timestamp type using steady_clock for monotonic time. | |
Functions | |
| uint64_t | libe3::now_realtime_ns () noexcept |
| Current realtime clock reading, in nanoseconds since the Unix epoch. | |
| const char * | libe3::ErrorCodeToString (ErrorCode code) |
| Convert ErrorCode to string name (C++ wrapper). | |
| const char * | libe3::pdu_type_to_string (PduType type) noexcept |
| Convert PduType to string representation. | |
| const char * | libe3::action_type_to_string (ActionType type) noexcept |
| Convert ActionType to string representation. | |
| const char * | libe3::response_code_to_string (ResponseCode code) noexcept |
| Convert ResponseCode to string representation. | |
| const char * | libe3::cause_to_string (Cause cause) noexcept |
| Convert Cause to the name E3AP gives it in JSON and in logs. | |
| Cause | libe3::cause_from_string (const std::string &name) noexcept |
| Read a Cause from its E3AP name. | |
| Cause | libe3::cause_from_value (long value) noexcept |
| Read a Cause from its wire value. | |
| const char * | libe3::error_code_to_string (ErrorCode code) noexcept |
| Convert ErrorCode to string representation. | |
| const char * | libe3::agent_state_to_string (AgentState state) noexcept |
| Convert AgentState to string representation. | |
| const char * | libe3::role_to_string (E3Role role) noexcept |
| Convert E3Role to string representation. | |
| const char * | libe3::link_layer_to_string (E3LinkLayer layer) noexcept |
| Convert E3LinkLayer to string representation. | |
| const char * | libe3::transport_layer_to_string (E3TransportLayer layer) noexcept |
| Convert E3TransportLayer to string representation. | |
Variables | |
| constexpr size_t | libe3::MAX_PROTOCOL_DATA_SIZE = 32768 |
| Largest protocolData of an indication, in bytes. | |
| constexpr size_t | libe3::MAX_ACTION_DATA_SIZE = 32768 |
| Largest actionData of a dApp control action, in bytes. | |
| constexpr size_t | libe3::MAX_DAPP_REPORT_DATA_SIZE = 32768 |
| Largest reportData of a dApp report, in bytes. | |
| constexpr size_t | libe3::MAX_XAPP_CTRL_DATA_SIZE = 32768 |
| Largest xAppControlData of an xApp control action, in bytes. | |
| constexpr size_t | libe3::MAX_PENDING_CONTROLS = 1024 |
| Most dApp controls a RAN holds an answer for at once. | |
| constexpr size_t | libe3::MAX_CONTROL_OUTCOME_SIZE = 32768 |
| Largest controlOutcome of a control response, in bytes. | |
| constexpr size_t | libe3::MAX_RAN_FUNCTIONS = 64 |
| ranFunctionList SIZE (0..64) | |
| constexpr size_t | libe3::MAX_IDENTIFIER_LIST_SIZE = 256 |
| telemetry and control lists SIZE (0..256) | |
| constexpr size_t | libe3::DEFAULT_BUFFER_SIZE = 60000 |
| Default encode and receive buffer size, in bytes. | |
| constexpr size_t | libe3::MAX_DETAIL_SIZE = 512 |
| Largest detail text of a negative response, in bytes (E3-Text). | |
| constexpr uint32_t | libe3::LIBE3_PROTOCOL_VERSION = 1 |
| Protocol version this library speaks. | |
E3AP Protocol Types - Vendor-neutral type definitions.
This header defines all E3AP protocol types and structures used throughout the libe3 library. These types are designed to be RAN-agnostic and can be used by any RAN vendor integrating with the E3AP protocol.
SPDX-FileCopyrightText: Copyright (c) 2026 Northeastern University SPDX-License-Identifier: Apache-2.0
Definition in file types.hpp.
| #define X | ( | name, | |
| val ) |