Print this page
Only exploit ipf state keeping for CFW logging.

@@ -4,11 +4,11 @@
  * See the IPFILTER.LICENCE file for details on licencing.
  *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  *
- * Copyright 2018 Joyent, Inc.  All rights reserved.
+ * Copyright 2019, Joyent, Inc.
  */
 
 #ifndef __IPF_STACK_H__
 #define __IPF_STACK_H__
 

@@ -44,10 +44,11 @@
         struct ipf_stack        *ifs_next;
         struct ipf_stack        **ifs_pnext;
         struct ipf_stack        *ifs_gz_cont_ifs;
         netid_t                 ifs_netid;
         zoneid_t                ifs_zone;
+        zoneid_t                ifs_zone_did;
         boolean_t               ifs_gz_controlled;
 
         /* ipf module */
         fr_info_t               ifs_frcache[2][8];
 

@@ -314,10 +315,11 @@
         struct radix_mask       *ifs_rn_mkfreelist;
         struct radix_node_head  *ifs_mask_rnhead;
         char                    *ifs_addmask_key;
         char                    *ifs_rn_zeros;
         char                    *ifs_rn_ones;
+
 #ifdef KERNEL
         /* kstats for inbound and outbound */
         kstat_t                 *ifs_kstatp[2];
 #endif
 };