X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2FAPI%2Fxran__app__frag_8h.html;fp=docs%2FAPI%2Fxran__app__frag_8h.html;h=829b55770df628da7d021daa94d2b8d473d0f763;hb=870e1b86b0c74169b215c166dee787c7c1a20d06;hp=0000000000000000000000000000000000000000;hpb=298022ce50fa8133cc880507170c4b7120d227b5;p=o-du%2Fphy.git diff --git a/docs/API/xran__app__frag_8h.html b/docs/API/xran__app__frag_8h.html new file mode 100644 index 0000000..829b557 --- /dev/null +++ b/docs/API/xran__app__frag_8h.html @@ -0,0 +1,206 @@ + + + + + + + +o-du/phy: xran_app_frag.h File Reference + + + + + + + + + +
+
+ + + + + + +
+
o-du/phy +
+
Intel O-RAN/X-RAN Generated Doxygen Documentation
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
xran_app_frag.h File Reference
+
+
+ +

Header file for functions to perform application level fragmentation. +More...

+
#include <stdint.h>
+#include <stdio.h>
+#include <rte_config.h>
+#include <rte_malloc.h>
+#include <rte_memory.h>
+#include <rte_mempool.h>
+#include <rte_byteorder.h>
+#include "xran_fh_o_du.h"
+#include "xran_cp_api.h"
+
+Include dependency graph for xran_app_frag.h:
+
+
+ + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + +
+
+

Go to the source code of this file.

+ + + + +

+Functions

int32_t xran_app_fragment_packet (struct rte_mbuf *pkt_in, struct rte_mbuf **pkts_out, uint16_t nb_pkts_out, uint16_t mtu_size, struct rte_mempool *pool_direct, struct rte_mempool *pool_indirect, struct xran_section_info *sectinfo, uint8_t *seqid)
 
+

Detailed Description

+

Header file for functions to perform application level fragmentation.

+
Author
Intel Corporation
+ +

Definition in file xran_app_frag.h.

+

Function Documentation

+ +

◆ xran_app_fragment_packet()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int32_t xran_app_fragment_packet (struct rte_mbuf * pkt_in,
struct rte_mbuf ** pkts_out,
uint16_t nb_pkts_out,
uint16_t mtu_size,
struct rte_mempool * pool_direct,
struct rte_mempool * pool_indirect,
struct xran_section_infosectinfo,
uint8_t * seqid 
)
+
+

XRAN fragmentation.

+

This function implements the application fragmentation of XRAN packets.

+
Parameters
+ + + + + + +
pkt_inThe input packet.
pkts_outArray storing the output fragments.
mtu_sizeSize in bytes of the Maximum Transfer Unit (MTU) for the outgoing XRAN datagrams. This value includes the size of the XRAN headers.
pool_directMBUF pool used for allocating direct buffers for the output fragments.
pool_indirectMBUF pool used for allocating indirect buffers for the output fragments.
+
+
+
Returns
Upon successful completion - number of output fragments placed in the pkts_out array. Otherwise - (-1) * <errno>.
+ +

Definition at line 104 of file xran_app_frag.c.

+ +
+
+
+ + + +