Print this page
OS-7667 IPFilter needs to keep and report state for cloud firewall logging
Portions contributed by: Mike Gerdts <mike.gerdts@joyent.com>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/cmd/ipf/tools/lexer.h
+++ new/usr/src/cmd/ipf/tools/lexer.h
1 -
1 +/*
2 + * Copyright 2019 Joyent, Inc.
3 + */
2 4 typedef struct wordtab {
3 5 char *w_word;
4 6 int w_value;
5 7 } wordtab_t;
6 8
7 9 #ifdef NO_YACC
8 10 #define YY_COMMENT 1000
9 11 #define YY_CMP_NE 1001
10 12 #define YY_CMP_LE 1002
11 13 #define YY_RANGE_OUT 1003
12 14 #define YY_CMP_GE 1004
13 15 #define YY_RANGE_IN 1005
14 16 #define YY_HEX 1006
15 17 #define YY_NUMBER 1007
16 18 #define YY_IPV6 1008
17 19 #define YY_STR 1009
18 20 #define YY_IPADDR 1010
21 +#define YY_UUID 1011
19 22 #endif
20 23
21 24 #define YYBUFSIZ 8192
22 25
23 26 extern wordtab_t *yysettab __P((wordtab_t *));
24 27 extern void yysetdict __P((wordtab_t *));
25 28 extern int yylex __P((void));
26 29 extern void yyerror __P((char *));
27 30 extern char *yykeytostr __P((int));
28 31 extern void yyresetdict __P((void));
29 32
30 33 extern FILE *yyin;
31 34 extern int yylineNum;
32 35 extern int yyexpectaddr;
33 36 extern int yybreakondot;
34 37 extern int yyvarnext;
35 38
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX