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>
        
@@ -1,13 +1,16 @@
 /*
  * Copyright (C) 1993-2005  by Darren Reed.
  * See the IPFILTER.LICENCE file for details on licencing.
+ *
+ * Copyright 2019 Joyent, Inc.
  */ 
 
 %{
 #include "ipf.h"
 #include <syslog.h>
+#include <uuid/uuid.h>
 #undef  OPT_NAT
 #undef  OPT_VERBOSE
 #include "ipmon_l.h"
 #include "ipmon.h"
 
@@ -40,15 +43,17 @@
         char    *str;
         u_32_t  num;
         struct in_addr  addr;
         struct opt      *opt;
         union   i6addr  ip6;
+        uuid_t  uuid;
 }
 
 %token  <num>   YY_NUMBER YY_HEX
 %token  <str>   YY_STR
 %token  <ip6>   YY_IPV6
+%token  <uuid>  YY_UUID
 %token  YY_COMMENT 
 %token  YY_CMP_EQ YY_CMP_NE YY_CMP_LE YY_CMP_GE YY_CMP_LT YY_CMP_GT
 %token  YY_RANGE_OUT YY_RANGE_IN
 
 %token  IPM_MATCH IPM_BODY IPM_COMMENT IPM_DIRECTION IPM_DSTIP IPM_DSTPORT