24#ifndef SURICATA_UTIL_PORT_INTERVAL_TREE_H
25#define SURICATA_UTIL_PORT_INTERVAL_TREE_H
main detection engine ctx
Port structure for detection engine.
SCPortIntervalNode * head
struct SCPortIntervalTree_ SCPortIntervalTree
void SCPortIntervalTreeFree(DetectEngineCtx *, SCPortIntervalTree *)
Function to free an entire interval tree.
int SCPortIntervalInsert(DetectEngineCtx *, SCPortIntervalTree *, const DetectPort *)
Function to insert a node in the interval tree.
void SCPortIntervalFindOverlappingRanges(DetectEngineCtx *, const uint16_t, const uint16_t, const struct PI *, DetectPort **)
Callee function to find all overlapping port ranges as asked by the detection engine during Stage 2 o...
SCPortIntervalTree * SCPortIntervalTreeInit(void)
Function to initialize the interval tree.