From owner-svn-soc-all@FreeBSD.ORG Thu Aug 7 18:33:19 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 64712BA8 for ; Thu, 7 Aug 2014 18:33:19 +0000 (UTC) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 519BF24A8 for ; Thu, 7 Aug 2014 18:33:19 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id s77IXJ10014176 for ; Thu, 7 Aug 2014 18:33:19 GMT (envelope-from dpl@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id s77IXIjb014048 for svn-soc-all@FreeBSD.org; Thu, 7 Aug 2014 18:33:18 GMT (envelope-from dpl@FreeBSD.org) Date: Thu, 7 Aug 2014 18:33:18 GMT Message-Id: <201408071833.s77IXIjb014048@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to dpl@FreeBSD.org using -f From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r272044 - soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2014 18:33:19 -0000 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