7#ifndef ODP_FRAGREASS_PP_REASSEMBLE_H_
8#define ODP_FRAGREASS_PP_REASSEMBLE_H_
11#include <odp/helper/ip.h>
13#include "odp_ipfragreass_ip.h"
14#include "odp_ipfragreass_helpers.h"
22#define FLOW_TIMEOUT_NS 15000000000ULL
25#define TS_RES_NS ((uint64_t)1000000)
30#define EARLIEST_MAX UINT32_MAX
36#define TS_NOW_TOLERANCE 5000
86 uint32_t whole_len:14;
107static inline void init_fraglist(
union fraglist *fl)
109 fl->earliest = EARLIEST_MAX;
111 fl->whole_len = IP_OCTET_MAX;
122static inline struct packet *prev_packet(
struct packet packet)
135static inline struct packet **prev_packet_ptr(
struct packet *packet)
137 return &packet->prev;
146static inline void set_prev_packet(
struct packet *packet,
struct packet *prev)
167 struct packet *fragments,
int num_fragments,
#define ODP_STATIC_ASSERT(cond, msg)
Compile time assertion macro.
bool odp_bool_t
Boolean type.
128-bit unsigned integer structure