52#include <yaf/autoinc.h>
53#include <yaf/decode.h>
85 uint32_t max_payload);
135 uint64_t packetTotal);
Fragmentation information structure.
Definition decode.h:66
Full packet information structure.
Definition decode.h:133
void yfFragTabFree(yfFragTab_t *fragtab)
Free a fragment table.
void yfFragDumpStats(yfFragTab_t *fragtab, uint64_t packetTotal)
Print fragment reassembler statistics to the log.
void yfGetFragTabStats(yfFragTab_t *fragtab, uint32_t *dropped, uint32_t *assembled, uint32_t *frags)
Get Frag Stats to yfWriteStatsFlow for Stats Export.
struct yfFragTab_st yfFragTab_t
A fragment table.
Definition yafrag.h:61
yfFragTab_t * yfFragTabAlloc(uint32_t idle_ms, uint32_t max_frags, uint32_t max_payload)
Allocate a fragment table.
gboolean yfDefragPBuf(yfFragTab_t *fragtab, yfIPFragInfo_t *fraginfo, size_t pbuflen, yfPBuf_t *pbuf, const uint8_t *pkt, size_t hdr_len)
Defragment a fragment returned by yfDecodeToPBuf().