Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 14:43:03 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r273167 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw
Message-ID:  <201408261443.s7QEh3fv079251@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dpl
Date: Tue Aug 26 14:43:02 2014
New Revision: 273167
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=273167

Log:
  Added needed variables.

Modified:
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.c
  soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.c
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.c	Tue Aug 26 13:53:01 2014	(r273166)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.c	Tue Aug 26 14:43:02 2014	(r273167)
@@ -31,6 +31,8 @@
 int ipfw_find_rule(struct ip_fw_chain *chain, uint32_t key, uint32_t id);
 void crfree(struct ucred *);
 
+// As done at netmap-ipfw
+time_t time_uptime = 0;
 
 // This functions only forces the compiler to store the stubs of the functions
 // so that they can be used by the JIT-compiled code instead.

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Tue Aug 26 13:53:01 2014	(r273166)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Tue Aug 26 14:43:02 2014	(r273167)
@@ -62,12 +62,18 @@
 int ipfw_find_rule(struct ip_fw_chain *chain, uint32_t key, uint32_t id);
 void crfree(struct ucred *);
 
+VNET_DEFINE(int, fw_verbose);
+
+VNET_DEFINE(u_int32_t, set_disable);
+#define	V_set_disable			VNET(set_disable)
+
 static VNET_DEFINE(int, fw_deny_unknown_exthdrs);
 #define	V_fw_deny_unknown_exthdrs	VNET(fw_deny_unknown_exthdrs)
 
 static VNET_DEFINE(int, fw_permit_single_frag6) = 1;
 #define	V_fw_permit_single_frag6	VNET(fw_permit_single_frag6)
 
+
 /*
  * Some macros used in the various matching options.
  * L3HDR maps an ipv4 pointer into a layer3 header pointer of type T



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408261443.s7QEh3fv079251>