o-du/phy
Intel O-RAN/X-RAN Generated Doxygen Documentation
Data Structures | Macros | Enumerations | Variables
xran_pkt.h File Reference

Definitions and support functions to process XRAN packet. More...

#include <rte_common.h>
#include <rte_ether.h>
#include <rte_byteorder.h>
Include dependency graph for xran_pkt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ecpri_seq_id
 
struct  xran_ecpri_cmn_hdr
 
struct  xran_ecpri_hdr
 
struct  radio_app_common_hdr
 
struct  compression_hdr
 
struct  xran_pkt_comm_hdr
 

Macros

#define ECPRI_MAX_PAYLOAD_SIZE   65535
 
#define XRAN_ETHER_TYPE   0xAEFE
 
#define XRAN_ECPRI_VER   0x0001
 
#define XRAN_PAYLOAD_VER   0x0001
 
#define VLAN_ID   0
 
#define VLAN_PCP   7
 

Enumerations

enum  ecpri_msg_type {
  ECPRI_IQ_DATA = 0x00, ECPRI_BIT_SEQUENCE = 0x01, ECPRI_RT_CONTROL_DATA = 0x02, ECPRI_GEN_DATA_TRANSFER = 0x03,
  ECPRI_REMOTE_MEM_ACCESS = 0x04, ECPRI_DELAY_MEASUREMENT = 0x05, ECPRI_REMOTE_RESET = 0x06, ECPRI_EVENT_INDICATION = 0x07,
  ECPRI_MSG_TYPE_MAX
}
 
enum  xran_pkt_dir { XRAN_DIR_UL = 0, XRAN_DIR_DL = 1, XRAN_DIR_MAX }
 

Variables

struct ecpri_seq_id __rte_packed
 

Detailed Description

Definitions and support functions to process XRAN packet.

Author
Intel Corporation

Definition in file xran_pkt.h.

Macro Definition Documentation

◆ ECPRI_MAX_PAYLOAD_SIZE

#define ECPRI_MAX_PAYLOAD_SIZE   65535

Max packet size taken in this implementation

Definition at line 56 of file xran_pkt.h.

◆ VLAN_ID

#define VLAN_ID   0

Default Tag protocol identifier (TPID)

Definition at line 64 of file xran_pkt.h.

◆ VLAN_PCP

#define VLAN_PCP   7

U-Plane and C-Plane only see Table 3 5 : Quality of service classes

Definition at line 65 of file xran_pkt.h.

◆ XRAN_ECPRI_VER

#define XRAN_ECPRI_VER   0x0001

eCPRI protocol revision 3.1.3.1.1

Definition at line 61 of file xran_pkt.h.

◆ XRAN_ETHER_TYPE

#define XRAN_ETHER_TYPE   0xAEFE

defined by eCPRI Specification V1.1

Definition at line 59 of file xran_pkt.h.

◆ XRAN_PAYLOAD_VER

#define XRAN_PAYLOAD_VER   0x0001

Payload version 5.4.4.2

Definition at line 62 of file xran_pkt.h.