Go to the documentation of this file.
24 #ifndef SURICATA_DEFRAG_H
25 #define SURICATA_DEFRAG_H
uint8_t DefragGetOsPolicy(Packet *)
Get the defrag policy based on the destination address of the packet.
Packet * Defrag(ThreadVars *, DecodeThreadVars *, Packet *)
Entry point for IPv4 and IPv6 fragments.
struct DefragTracker_ * hnext
RB_PROTOTYPE(IP_FRAGMENTS, Frag_, rb, DefragRbFragCompare)
void DefragTrackerFreeFrags(DefragTracker *)
Free all frags associated with a tracker.
SC_ATOMIC_DECLARE(unsigned int, use_cnt)
void DefragRegisterTests(void)
uint16_t vlan_id[VLAN_MAX_LAYERS]
Per thread variable structure.
struct DefragContext_ DefragContext
struct IP_FRAGMENTS fragment_tree
Structure to hold thread specific data for all decode modules.
struct DefragTracker_ * lnext
int DefragRbFragCompare(struct Frag_ *a, struct Frag_ *b)
struct DefragTracker_ DefragTracker
RB_HEAD(IP_FRAGMENTS, Frag_)