API Reference Manual  1.45.0
spec/reassembly.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2021 Marvell
3  */
4 
11 #ifndef ODP_API_SPEC_REASSEMBLY_H_
12 #define ODP_API_SPEC_REASSEMBLY_H_
13 #include <odp/visibility_begin.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include <odp/api/std_types.h>
20 
30 typedef struct odp_reass_capability_t {
35 
38 
41 
45  uint64_t max_wait_time;
46 
48  uint16_t max_num_frags;
49 
51 
90 typedef struct odp_reass_config_t {
97 
104 
112  uint64_t max_wait_time;
113 
118  uint16_t max_num_frags;
120 
125 #ifdef __cplusplus
126 }
127 #endif
128 
129 #include <odp/visibility_end.h>
130 #endif
Standard C language types and definitions for ODP.
struct odp_reass_config_t odp_reass_config_t
Fragment reassembly configuration.
struct odp_reass_capability_t odp_reass_capability_t
Reassembly capabilities.
int odp_bool_t
Use odp boolean type to have it well-defined and known size, regardless which compiler is used as thi...
Reassembly capabilities.
uint16_t max_num_frags
Maximum number of fragments that can be reassembled.
odp_bool_t ipv4
Reassembly offload for IPv4 packets.
odp_bool_t ipv6
Reassembly offload for IPv6 packets.
odp_bool_t ip
Reassembly offload for both IPv4 and IPv6 packets.
uint64_t max_wait_time
Maximum time in ns that a fragment can wait in the reassembly offload for the arrival of further frag...
Fragment reassembly configuration.
odp_bool_t en_ipv6
Attempt inline reassembly of IPv6 packets.
uint64_t max_wait_time
Maximum time in ns that a fragment may wait in the reassembly offload for the arrival of further frag...
uint16_t max_num_frags
Maximum number of fragments that can be reassembled.
odp_bool_t en_ipv4
Attempt inline reassembly of IPv4 packets.