mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:45:22 +00:00
UI: fortconf: Tweak FORT_RULE_EXPR_* flags
This commit is contained in:
parent
714edc30fb
commit
bd958bfb36
@ -110,15 +110,13 @@ typedef struct fort_conf_addr_group
|
|||||||
char data[4];
|
char data[4];
|
||||||
} FORT_CONF_ADDR_GROUP, *PFORT_CONF_ADDR_GROUP;
|
} FORT_CONF_ADDR_GROUP, *PFORT_CONF_ADDR_GROUP;
|
||||||
|
|
||||||
#define FORT_RULE_EXPR_LIST 0x01
|
#define FORT_RULE_EXPR_NOT 0x01
|
||||||
#define FORT_RULE_EXPR_LOCAL 0x02
|
#define FORT_RULE_EXPR_LIST 0x02
|
||||||
#define FORT_RULE_EXPR_ADDRESS 0x04
|
#define FORT_RULE_EXPR_LOCAL 0x04
|
||||||
#define FORT_RULE_EXPR_PORT 0x08
|
#define FORT_RULE_EXPR_ADDRESS 0x08
|
||||||
#define FORT_RULE_EXPR_PORT_TCP 0x10
|
#define FORT_RULE_EXPR_PORT 0x10
|
||||||
#define FORT_RULE_EXPR_PORT_UDP 0x20
|
#define FORT_RULE_EXPR_PROTOCOL 0x20
|
||||||
#define FORT_RULE_EXPR_PORT_PROTO_MASK (FORT_RULE_EXPR_PORT_TCP | FORT_RULE_EXPR_PORT_UDP)
|
#define FORT_RULE_EXPR_DIRECTION 0x40
|
||||||
#define FORT_RULE_EXPR_PROTOCOL 0x40
|
|
||||||
#define FORT_RULE_EXPR_DIRECTION 0x80
|
|
||||||
|
|
||||||
typedef struct fort_conf_rule_expr
|
typedef struct fort_conf_rule_expr
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user