Go to the documentation of this file.
68 if (vars || thresholds) {
87 static uint32_t IPPairHashRowTimeout(IPPairHashRow *hb,
IPPair *h,
SCTime_t ts)
101 if (IPPairTimedOut(h,
ts) == 1) {
103 if (h->
hprev != NULL)
105 if (h->
hnext != NULL)
155 if (hb->tail == NULL) {
161 cnt += IPPairHashRowTimeout(hb, hb->tail,
ts);
uint32_t IPPairTimeoutHash(SCTime_t ts)
time out ippairs from the hash
int ThresholdIPPairTimeoutCheck(IPPair *pair, SCTime_t ts)
void IPPairMoveToSpare(IPPair *h)
#define HRLOCK_UNLOCK(fb)
int ThresholdIPPairHasThreshold(IPPair *pair)
IPPairConfig ippair_config
#define SCMutexUnlock(mut)
uint32_t IPPairSpareQueueGetSize(void)
int IPPairHasBits(IPPair *ippair)
uint32_t IPPairGetActiveCount(void)
void IPPairClearMemory(IPPair *h)
uint32_t IPPairGetSpareCount(void)
#define HRLOCK_TRYLOCK(fb)
int IPPairBitsTimedoutCheck(IPPair *h, SCTime_t ts)
#define SC_ATOMIC_GET(name)
Get the value from the atomic variable.
IPPairHashRow * ippair_hash
#define SCMutexTrylock(mut)