X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__transport_8c.html;fp=docs%2FAPI%2Fxran__transport_8c.html;h=96322e4b0b1962ce9b637d98508c76bc5b797258;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__transport_8c.html b/docs/API/xran__transport_8c.html new file mode 100644 index 0000000..96322e4 --- /dev/null +++ b/docs/API/xran__transport_8c.html @@ -0,0 +1,533 @@ + + +
+ + + + +
+ o-du/phy
+
+ Intel O-RAN/X-RAN Generated Doxygen Documentation
+ |
+
This file provides the implementation for Transport lyaer (eCPRI) API. +More...
+#include <stdint.h>
#include <endian.h>
#include <rte_common.h>
#include <rte_config.h>
#include "xran_fh_o_du.h"
#include "xran_common.h"
#include "xran_transport.h"
#include "xran_pkt_cp.h"
#include "xran_cp_api.h"
#include "xran_up_api.h"
#include "xran_printf.h"
Go to the source code of this file.
++Functions | |
int | xran_get_ecpri_hdr_size (void) |
return eCPRI header size without eCPRI common header More... | |
uint16_t | xran_compose_cid (uint8_t CU_Port_ID, uint8_t BandSector_ID, uint8_t CC_ID, uint8_t Ant_ID) |
Compose ecpriRtcid/ecpriPcid. More... | |
void | xran_decompose_cid (uint16_t cid, struct xran_eaxc_info *result) |
Decompose ecpriRtcid/ecpriPcid. More... | |
void | xran_update_ecpri_payload_size (struct rte_mbuf *mbuf, int size) |
modify the payload size of eCPRI header in xRAN packet More... | |
int | xran_build_ecpri_hdr (struct rte_mbuf *mbuf, uint8_t CC_ID, uint8_t Ant_ID, uint8_t seq_id, struct xran_ecpri_hdr **ecpri_hdr) |
Build ECPRI header and returns added length. More... | |
int | xran_parse_ecpri_hdr (struct rte_mbuf *mbuf, struct xran_ecpri_hdr **ecpri_hdr, struct xran_recv_packet_info *pkt_info) |
Parse ECPRI header. More... | |
This file provides the implementation for Transport lyaer (eCPRI) API.
+ + +Definition in file xran_transport.c.
+int xran_build_ecpri_hdr | +( | +struct rte_mbuf * | +mbuf, | +
+ | + | uint8_t | +CC_ID, | +
+ | + | uint8_t | +Ant_ID, | +
+ | + | uint8_t | +seq_id, | +
+ | + | struct xran_ecpri_hdr ** | +ecpri_hdr | +
+ | ) | ++ |
Build ECPRI header and returns added length.
+mbuf | The pointer of the packet buffer to be parsed |
CC_ID | Component Carrier ID for this C-Plane message |
Ant_ID | Antenna ID(RU Port ID) for this C-Plane message |
seq_id | Sequence ID for this C-Plane message |
ecpri_hdr | The pointer to ECPRI header |
Definition at line 142 of file xran_transport.c.
+uint16_t xran_compose_cid | +( | +uint8_t | +CU_Port_ID, | +
+ | + | uint8_t | +BandSector_ID, | +
+ | + | uint8_t | +CC_ID, | +
+ | + | uint8_t | +Ant_ID | +
+ | ) | ++ |
Compose ecpriRtcid/ecpriPcid.
+CU_Port_ID | CU Port ID |
BanbSector_ID | Band Sector ID |
CC_ID | Component Carrier ID |
Ant_ID | RU Port ID (antenna ID) |
Definition at line 65 of file xran_transport.c.
+void xran_decompose_cid | +( | +uint16_t | +cid, | +
+ | + | struct xran_eaxc_info * | +result | +
+ | ) | ++ |
Decompose ecpriRtcid/ecpriPcid.
+cid | composed ecpriRtcid/ecpriPcid (network byte order) |
result | the pointer of the structure to store decomposed values |
Definition at line 89 of file xran_transport.c.
+int xran_get_ecpri_hdr_size | +( | +void | +) | ++ |
return eCPRI header size without eCPRI common header
+Definition at line 49 of file xran_transport.c.
+int xran_parse_ecpri_hdr | +( | +struct rte_mbuf * | +mbuf, | +
+ | + | struct xran_ecpri_hdr ** | +ecpri_hdr, | +
+ | + | struct xran_recv_packet_info * | +pkt_info | +
+ | ) | ++ |
Parse ECPRI header.
+mbuf | The pointer of the packet buffer to be parsed |
ecpri_hdr | The pointer to ECPRI header |
pkt_info | The pointer of sturcture to store the information from header |
Definition at line 192 of file xran_transport.c.
+
+
|
+ +inline | +
modify the payload size of eCPRI header in xRAN packet
+mbuf | Initialized rte_mbuf packet which has eCPRI header already |
size | payload size to be updated |
Definition at line 113 of file xran_transport.c.
+ +