Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 18:33:18 GMT
From:      dpl@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r272044 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw
Message-ID:  <201408071833.s77IXIjb014048@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dpl
Date: Thu Aug  7 18:33:18 2014
New Revision: 272044
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=272044

Log:
  Added struct declarations and function prototype, to be able to use them when JITing

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

Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h
==============================================================================
--- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Thu Aug  7 18:19:09 2014	(r272043)
+++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw_rules.h	Thu Aug  7 18:33:18 2014	(r272044)
@@ -34,6 +34,17 @@
 // dpl XXX. For now, we put the chain there, that could change, tough.
 int ipfw_chk_jit(struct ip_fw_args *args, struct ip_fw_chain *chain);
 
+// Functions used by JIT, external to our code.
+int printf(const char * restrict format, ...);
+
+// Declarations of some needed structs.
+struct mbuf;
+
+struct ip_fw_args;
+struct ip_fw_chain;
+struct ip_fw;
+struct ipfw_insn;
+
 /*
  * 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?201408071833.s77IXIjb014048>