1 /******************************************************************************
3 * Copyright (c) 2019 Intel.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 *******************************************************************************/
21 * @brief Header file for functions to perform application level fragmentation
23 * @file xran_app_frag.h
24 * @ingroup group_source_xran
25 * @author Intel Corporation
28 #ifndef _XRAN_APP_FRAG_
29 #define _XRAN_APP_FRAG_
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>
44 #include "xran_fh_o_du.h"
45 #include "xran_cp_api.h"
47 int32_t xran_app_fragment_packet(struct rte_mbuf *pkt_in, /* eth hdr is prepended */
48 struct rte_mbuf **pkts_out,
51 struct rte_mempool *pool_direct,
52 struct rte_mempool *pool_indirect,
53 struct xran_section_info *sectinfo,
60 #endif /* _XRAN_APP_FRAG_ */