suricata
action-globals.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ACTION_ALERT   0x01
 
#define ACTION_DROP   0x02
 
#define ACTION_REJECT   0x04
 
#define ACTION_REJECT_DST   0x08
 
#define ACTION_REJECT_BOTH   0x10
 
#define ACTION_PASS   0x20
 
#define ACTION_CONFIG   0x40
 
#define ACTION_ACCEPT   0x80
 
#define ACTION_REJECT_ANY   (ACTION_REJECT|ACTION_REJECT_DST|ACTION_REJECT_BOTH)
 
#define ACTION_DROP_REJECT   (ACTION_REJECT_ANY | ACTION_DROP)
 

Enumerations

enum  ActionScope {
  ACTION_SCOPE_AUTO = 0, ACTION_SCOPE_PACKET, ACTION_SCOPE_FLOW, ACTION_SCOPE_HOOK,
  ACTION_SCOPE_TX
}
 

Detailed Description

Macro Definition Documentation

◆ ACTION_ACCEPT

#define ACTION_ACCEPT   0x80

firewall 'accept' rule

Definition at line 37 of file action-globals.h.

◆ ACTION_ALERT

#define ACTION_ALERT   0x01

Definition at line 30 of file action-globals.h.

◆ ACTION_CONFIG

#define ACTION_CONFIG   0x40

Definition at line 36 of file action-globals.h.

◆ ACTION_DROP

#define ACTION_DROP   0x02

Definition at line 31 of file action-globals.h.

◆ ACTION_DROP_REJECT

#define ACTION_DROP_REJECT   (ACTION_REJECT_ANY | ACTION_DROP)

Definition at line 41 of file action-globals.h.

◆ ACTION_PASS

#define ACTION_PASS   0x20

Definition at line 35 of file action-globals.h.

◆ ACTION_REJECT

#define ACTION_REJECT   0x04

Definition at line 32 of file action-globals.h.

◆ ACTION_REJECT_ANY

#define ACTION_REJECT_ANY   (ACTION_REJECT|ACTION_REJECT_DST|ACTION_REJECT_BOTH)

Definition at line 39 of file action-globals.h.

◆ ACTION_REJECT_BOTH

#define ACTION_REJECT_BOTH   0x10

Definition at line 34 of file action-globals.h.

◆ ACTION_REJECT_DST

#define ACTION_REJECT_DST   0x08

Definition at line 33 of file action-globals.h.

Enumeration Type Documentation

◆ ActionScope

Enumerator
ACTION_SCOPE_AUTO 
ACTION_SCOPE_PACKET 

apply action to packet

ACTION_SCOPE_FLOW 

apply drop/pass/accept action to flow

ACTION_SCOPE_HOOK 

apply action to current hook

ACTION_SCOPE_TX 

apply action to current tx

Definition at line 42 of file action-globals.h.