suricata
util-validate.h File Reference

Go to the source code of this file.

Macros

#define DEBUG_ASSERT_FLOW_LOCKED(f)
 
#define DEBUG_VALIDATE_FLOW(f)
 
#define DEBUG_VALIDATE_PACKET(p)
 
#define DEBUG_VALIDATE_BUG_ON(exp)
 

Detailed Description

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

Functions & Macro's for validation of data structures. This is used for code correctness.

These will abort() the program if they fail, so they should only be used for testing.

Definition in file util-validate.h.

Macro Definition Documentation

◆ DEBUG_ASSERT_FLOW_LOCKED

#define DEBUG_ASSERT_FLOW_LOCKED (   f)

Definition at line 101 of file util-validate.h.

◆ DEBUG_VALIDATE_BUG_ON

#define DEBUG_VALIDATE_BUG_ON (   exp)

Definition at line 104 of file util-validate.h.

◆ DEBUG_VALIDATE_FLOW

#define DEBUG_VALIDATE_FLOW (   f)

Definition at line 102 of file util-validate.h.

◆ DEBUG_VALIDATE_PACKET

#define DEBUG_VALIDATE_PACKET (   p)

Definition at line 103 of file util-validate.h.