1 /******************************************************************************
\r
3 * Copyright (c) 2019 Intel.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
17 *******************************************************************************/
\r
21 * @brief Header file for functions to perform application level fragmentation
\r
23 * @file xran_app_frag.h
\r
24 * @ingroup group_source_xran
\r
25 * @author Intel Corporation
\r
28 #ifndef _XRAN_APP_FRAG_
\r
29 #define _XRAN_APP_FRAG_
\r
38 #include <rte_config.h>
\r
39 #include <rte_malloc.h>
\r
40 #include <rte_memory.h>
\r
41 #include <rte_mempool.h>
\r
42 #include <rte_byteorder.h>
\r
44 #include "xran_fh_o_du.h"
\r
45 #include "xran_cp_api.h"
\r
47 int32_t xran_app_fragment_packet(struct rte_mbuf *pkt_in, /* eth hdr is prepended */
\r
48 struct rte_mbuf **pkts_out,
\r
49 uint16_t nb_pkts_out,
\r
51 struct rte_mempool *pool_direct,
\r
52 struct rte_mempool *pool_indirect,
\r
53 struct xran_section_info *sectinfo,
\r
60 #endif /* _XRAN_APP_FRAG_ */
\r