o-du/phy
Intel O-RAN/X-RAN Generated Doxygen Documentation
xran_app_frag.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * Copyright (c) 2019 Intel.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *******************************************************************************/
18 
19 
28 #ifndef _XRAN_APP_FRAG_
29 #define _XRAN_APP_FRAG_
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 #include <stdint.h>
36 #include <stdio.h>
37 
38 #include <rte_config.h>
39 #include <rte_malloc.h>
40 #include <rte_memory.h>
41 #include <rte_mempool.h>
42 #include <rte_byteorder.h>
43 
44 #include "xran_fh_o_du.h"
45 #include "xran_cp_api.h"
46 
47 int32_t xran_app_fragment_packet(struct rte_mbuf *pkt_in, /* eth hdr is prepended */
48  struct rte_mbuf **pkts_out,
49  uint16_t nb_pkts_out,
50  uint16_t mtu_size,
51  struct rte_mempool *pool_direct,
52  struct rte_mempool *pool_indirect,
53  struct xran_section_info *sectinfo,
54  uint8_t *seqid);
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* _XRAN_APP_FRAG_ */
61 
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)
This file provides public interface to xRAN Front Haul layer implementation as defined in the ORAN-WG...
This file provides the definitions for Control Plane Messages APIs.