suricata
util-exception-policy-types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ExceptionPolicyCounters_
 
struct  ExceptionPolicyStatsSetts_
 

Macros

#define EXCEPTION_POLICY_MAX   (EXCEPTION_POLICY_REJECT + 1)
 
#define EXCEPTION_POLICY_COUNTER_MAX_LEN   45
 
#define EXCEPTION_TARGET_FLAG_DEFRAG_MEMCAP   BIT_U8(0)
 
#define EXCEPTION_TARGET_FLAG_SESSION_MEMCAP   BIT_U8(1)
 
#define EXCEPTION_TARGET_FLAG_REASSEMBLY_MEMCAP   BIT_U8(2)
 
#define EXCEPTION_TARGET_FLAG_FLOW_MEMCAP   BIT_U8(3)
 
#define EXCEPTION_TARGET_FLAG_MIDSTREAM   BIT_U8(4)
 
#define EXCEPTION_TARGET_FLAG_APPLAYER_ERROR   BIT_U8(5)
 

Typedefs

typedef struct ExceptionPolicyCounters_ ExceptionPolicyCounters
 
typedef struct ExceptionPolicyStatsSetts_ ExceptionPolicyStatsSetts
 

Enumerations

enum  ExceptionPolicy {
  EXCEPTION_POLICY_NOT_SET = 0, EXCEPTION_POLICY_AUTO, EXCEPTION_POLICY_PASS_PACKET, EXCEPTION_POLICY_PASS_FLOW,
  EXCEPTION_POLICY_BYPASS_FLOW, EXCEPTION_POLICY_DROP_PACKET, EXCEPTION_POLICY_DROP_FLOW, EXCEPTION_POLICY_REJECT
}
 

Macro Definition Documentation

◆ EXCEPTION_POLICY_COUNTER_MAX_LEN

#define EXCEPTION_POLICY_COUNTER_MAX_LEN   45

Definition at line 42 of file util-exception-policy-types.h.

◆ EXCEPTION_POLICY_MAX

#define EXCEPTION_POLICY_MAX   (EXCEPTION_POLICY_REJECT + 1)

Definition at line 37 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_APPLAYER_ERROR

#define EXCEPTION_TARGET_FLAG_APPLAYER_ERROR   BIT_U8(5)

Definition at line 50 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_DEFRAG_MEMCAP

#define EXCEPTION_TARGET_FLAG_DEFRAG_MEMCAP   BIT_U8(0)

Flags for possible scenario/ config settings for exception policies

Definition at line 45 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_FLOW_MEMCAP

#define EXCEPTION_TARGET_FLAG_FLOW_MEMCAP   BIT_U8(3)

Definition at line 48 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_MIDSTREAM

#define EXCEPTION_TARGET_FLAG_MIDSTREAM   BIT_U8(4)

Definition at line 49 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_REASSEMBLY_MEMCAP

#define EXCEPTION_TARGET_FLAG_REASSEMBLY_MEMCAP   BIT_U8(2)

Definition at line 47 of file util-exception-policy-types.h.

◆ EXCEPTION_TARGET_FLAG_SESSION_MEMCAP

#define EXCEPTION_TARGET_FLAG_SESSION_MEMCAP   BIT_U8(1)

Definition at line 46 of file util-exception-policy-types.h.

Typedef Documentation

◆ ExceptionPolicyCounters

◆ ExceptionPolicyStatsSetts

Enumeration Type Documentation

◆ ExceptionPolicy

Enumerator
EXCEPTION_POLICY_NOT_SET 
EXCEPTION_POLICY_AUTO 
EXCEPTION_POLICY_PASS_PACKET 
EXCEPTION_POLICY_PASS_FLOW 
EXCEPTION_POLICY_BYPASS_FLOW 
EXCEPTION_POLICY_DROP_PACKET 
EXCEPTION_POLICY_DROP_FLOW 
EXCEPTION_POLICY_REJECT 

Definition at line 25 of file util-exception-policy-types.h.