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>

@@ -6,15 +6,18 @@
  * @(#)ip_state.h       1.3 1/12/96 (C) 1995 Darren Reed
  * $Id: ip_state.h,v 2.68.2.5 2005/08/11 19:58:04 darrenr Exp $
  *
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright 2019 Joyent, Inc.
  */
 
 #ifndef __IP_STATE_H__
 #define __IP_STATE_H__
 
+#include <sys/uuid.h>
+
 #if defined(__STDC__) || defined(__GNUC__) || defined(_AIX51)
 # define        SIOCDELST       _IOW('r', 61, struct ipfobj)
 #else
 # define        SIOCDELST       _IOW(r, 61, struct ipfobj)
 #endif

@@ -64,10 +67,11 @@
         u_32_t  is_tag;
         u_32_t  is_opt[2];              /* packet options set */
                                         /* in both directions */
         u_32_t  is_optmsk[2];           /*    "      "    mask */
                                         /* in both directions */
+        uuid_t  is_uuid;
         u_short is_sec;                 /* security options set */
         u_short is_secmsk;              /*    "        "    mask */
         u_short is_auth;                /* authentication options set */
         u_short is_authmsk;             /*    "              "    mask */
         union {