DEBUG_PARSER = 0x2,
DEBUG_EVALUATION = 0x4,
DEBUG_NETLINK = 0x8,
- DEBUG_PROTO_CTX = 0x10,
- DEBUG_SEGTREE = 0x20,
- DEBUG_SEGTREE = 0x10,
- DEBUG_MNL = 0x20,
++ DEBUG_MNL = 0x10,
++ DEBUG_PROTO_CTX = 0x20,
++ DEBUG_SEGTREE = 0x40,
};
#define INCLUDE_PATHS_MAX 16
" -a/--handle Output rule handle.\n"
" -I/--includepath <directory> Add <directory> to the paths searched for include files.\n"
#ifdef DEBUG
- " --debug <level [,level...]> Specify debugging level (scanner, parser, eval, netlink, proto-ctx, segtree, all)\n"
-" --debug <level [,level...]> Specify debugging level (scanner, parser, eval, netlink, mnl, segtree, all)\n"
++" --debug <level [,level...]> Specify debugging level (scanner, parser, eval, netlink, mnl, proto-ctx, segtree, all)\n"
#endif
"\n",
name);
.name = "netlink",
.level = DEBUG_NETLINK,
},
+ {
+ .name = "mnl",
+ .level = DEBUG_MNL,
+ },
+ {
+ .name = "proto-ctx",
+ .level = DEBUG_PROTO_CTX,
+ },
{
.name = "segtree",
.level = DEBUG_SEGTREE,
%token JUMP "jump"
%token GOTO "goto"
%token RETURN "return"
-%token QUEUE "queue"
+ %token CONSTANT "constant"
+ %token INTERVAL "interval"
+ %token ELEMENTS "elements"
+
%token <val> NUM "number"
%token <string> STRING "string"
%token <string> QUOTED_STRING