UI: fortconf: Tweak FORT_RULE_EXPR_* flags

This commit is contained in:
Nodir Temirkhodjaev 2024-05-27 11:22:32 +03:00
parent 714edc30fb
commit bd958bfb36

View File

@ -110,15 +110,13 @@ typedef struct fort_conf_addr_group
char data[4];
} FORT_CONF_ADDR_GROUP, *PFORT_CONF_ADDR_GROUP;
#define FORT_RULE_EXPR_LIST 0x01
#define FORT_RULE_EXPR_LOCAL 0x02
#define FORT_RULE_EXPR_ADDRESS 0x04
#define FORT_RULE_EXPR_PORT 0x08
#define FORT_RULE_EXPR_PORT_TCP 0x10
#define FORT_RULE_EXPR_PORT_UDP 0x20
#define FORT_RULE_EXPR_PORT_PROTO_MASK (FORT_RULE_EXPR_PORT_TCP | FORT_RULE_EXPR_PORT_UDP)
#define FORT_RULE_EXPR_PROTOCOL 0x40
#define FORT_RULE_EXPR_DIRECTION 0x80
#define FORT_RULE_EXPR_NOT 0x01
#define FORT_RULE_EXPR_LIST 0x02
#define FORT_RULE_EXPR_LOCAL 0x04
#define FORT_RULE_EXPR_ADDRESS 0x08
#define FORT_RULE_EXPR_PORT 0x10
#define FORT_RULE_EXPR_PROTOCOL 0x20
#define FORT_RULE_EXPR_DIRECTION 0x40
typedef struct fort_conf_rule_expr
{