API Reference Manual  1.46.0
odp_ipfragreass_fragment.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2017-2018 Linaro Limited
3  */
4 
7 #ifndef ODP_FRAGREASS_PP_FRAG_H_
8 #define ODP_FRAGREASS_PP_FRAG_H_
9 
10 #include <odp/helper/ip.h>
11 
12 #define MTU 1480
14 ODP_STATIC_ASSERT(!(MTU % 8), "ODPFRAG_MTU__SIZE_ERROR");
15 
25 int fragment_ipv4_packet(odp_packet_t orig_packet, odp_packet_t *out,
26  int *out_len);
27 
28 #endif
#define ODP_STATIC_ASSERT(cond, msg)
Compile time assertion macro.