suricata
ippair-bit.h File Reference
#include "ippair.h"
Include dependency graph for ippair-bit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void IPPairBitInitCtx (void)
 
void IPPairBitRegisterTests (void)
 
int IPPairHasBits (IPPair *host)
 
int IPPairBitsTimedoutCheck (IPPair *h, SCTime_t ts)
 
void IPPairBitSet (IPPair *, uint32_t, uint32_t)
 
void IPPairBitUnset (IPPair *, uint32_t)
 
void IPPairBitToggle (IPPair *, uint32_t, uint32_t)
 
int IPPairBitIsset (IPPair *, uint32_t, uint32_t)
 
int IPPairBitIsnotset (IPPair *, uint32_t, uint32_t)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Definition in file ippair-bit.h.

Function Documentation

◆ IPPairBitInitCtx()

void IPPairBitInitCtx ( void  )

Definition at line 49 of file ippair-bit.c.

◆ IPPairBitIsnotset()

int IPPairBitIsnotset ( IPPair ,
uint32_t  ,
uint32_t   
)

Definition at line 171 of file ippair-bit.c.

◆ IPPairBitIsset()

int IPPairBitIsset ( IPPair ,
uint32_t  ,
uint32_t   
)

Definition at line 157 of file ippair-bit.c.

◆ IPPairBitRegisterTests()

void IPPairBitRegisterTests ( void  )

Definition at line 492 of file ippair-bit.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ IPPairBitSet()

void IPPairBitSet ( IPPair ,
uint32_t  ,
uint32_t   
)

Definition at line 131 of file ippair-bit.c.

◆ IPPairBitsTimedoutCheck()

int IPPairBitsTimedoutCheck ( IPPair h,
SCTime_t  ts 
)
Return values
1ippair timed out wrt xbits
0ippair still has active (non-expired) xbits

Definition at line 67 of file ippair-bit.c.

References IPPairGetStorageById().

Here is the call graph for this function:

◆ IPPairBitToggle()

void IPPairBitToggle ( IPPair ,
uint32_t  ,
uint32_t   
)

Definition at line 147 of file ippair-bit.c.

◆ IPPairBitUnset()

void IPPairBitUnset ( IPPair ,
uint32_t   
)

Definition at line 139 of file ippair-bit.c.

◆ IPPairHasBits()

int IPPairHasBits ( IPPair host)

Definition at line 58 of file ippair-bit.c.

References IPPairGetStorageById().

Here is the call graph for this function: