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

Go to the source code of this file.

Functions

void HostBitInitCtx (void)
 
void HostBitRegisterTests (void)
 
int HostHasHostBits (Host *host)
 
int HostBitsTimedoutCheck (Host *h, SCTime_t ts)
 
void HostBitSet (Host *, uint32_t, uint32_t)
 
void HostBitUnset (Host *, uint32_t)
 
void HostBitToggle (Host *, uint32_t, uint32_t)
 
int HostBitIsset (Host *, uint32_t, uint32_t)
 
int HostBitIsnotset (Host *, uint32_t, uint32_t)
 
int HostBitList (Host *, XBit **)
 

Detailed Description

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

Definition in file host-bit.h.

Function Documentation

◆ HostBitInitCtx()

void HostBitInitCtx ( void  )

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

Referenced by RunUnittests().

Here is the caller graph for this function:

◆ HostBitIsnotset()

int HostBitIsnotset ( Host ,
uint32_t  ,
uint32_t   
)

Definition at line 170 of file host-bit.c.

◆ HostBitIsset()

int HostBitIsset ( Host ,
uint32_t  ,
uint32_t   
)

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

◆ HostBitList()

int HostBitList ( Host ,
XBit **   
)

Definition at line 184 of file host-bit.c.

References HostGetStorageById().

Here is the call graph for this function:

◆ HostBitRegisterTests()

void HostBitRegisterTests ( void  )

Definition at line 508 of file host-bit.c.

References UtRegisterTest().

Here is the call graph for this function:

◆ HostBitSet()

void HostBitSet ( Host ,
uint32_t  ,
uint32_t   
)

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

◆ HostBitsTimedoutCheck()

int HostBitsTimedoutCheck ( Host h,
SCTime_t  ts 
)
Return values
1host timed out wrt xbits
0host still has active (non-expired) xbits

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

References HostGetStorageById().

Here is the call graph for this function:

◆ HostBitToggle()

void HostBitToggle ( Host ,
uint32_t  ,
uint32_t   
)

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

◆ HostBitUnset()

void HostBitUnset ( Host ,
uint32_t   
)

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

◆ HostHasHostBits()

int HostHasHostBits ( Host host)

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

References HostGetStorageById().

Here is the call graph for this function: