|
suricata
|


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, SCTime_t) |
| void | HostBitUnset (Host *, uint32_t) |
| void | HostBitToggle (Host *, uint32_t, SCTime_t) |
| int | HostBitIsset (Host *, uint32_t, SCTime_t) |
| int | HostBitIsnotset (Host *, uint32_t, SCTime_t) |
| int | HostBitList (Host *, XBit **) |
Definition in file host-bit.h.
| void HostBitInitCtx | ( | void | ) |
Definition at line 49 of file host-bit.c.
References FatalError, HostStorageRegister(), and HostStorageId_::id.
Referenced by PostConfLoadedSetup(), and RunUnittests().


Definition at line 170 of file host-bit.c.
References XBit_::expire, SCTIME_CMP_LT, and ts.
Definition at line 157 of file host-bit.c.
References XBit_::expire, SCTIME_CMP_LT, and ts.
Definition at line 184 of file host-bit.c.
References DETECT_XBITS, HostGetStorageById(), GenericVar_::next, and GenericVar_::type.

| void HostBitRegisterTests | ( | void | ) |
Definition at line 508 of file host-bit.c.
References UtRegisterTest().

Definition at line 131 of file host-bit.c.
| 1 | host timed out wrt xbits |
| 0 | host still has active (non-expired) xbits |
Definition at line 67 of file host-bit.c.
References DETECT_XBITS, XBit_::expire, HostGetStorageById(), GenericVar_::next, SCTIME_CMP_GT, ts, and GenericVar_::type.

Definition at line 147 of file host-bit.c.
| void HostBitUnset | ( | Host * | h, |
| uint32_t | idx | ||
| ) |
Definition at line 139 of file host-bit.c.
| int HostHasHostBits | ( | Host * | host | ) |
Definition at line 58 of file host-bit.c.
References HostGetStorageById().
