From owner-svn-soc-all@FreeBSD.ORG Mon Aug 4 19:30:14 2014 Return-Path: Delivered-To: svn-soc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A3DD0FB1 for ; Mon, 4 Aug 2014 19:30:14 +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 8FB212EF6 for ; Mon, 4 Aug 2014 19:30:14 +0000 (UTC) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id s74JUEEu038370 for ; Mon, 4 Aug 2014 19:30:14 GMT (envelope-from dpl@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id s74JUEgU038367 for svn-soc-all@FreeBSD.org; Mon, 4 Aug 2014 19:30:14 GMT (envelope-from dpl@FreeBSD.org) Date: Mon, 4 Aug 2014 19:30:14 GMT Message-Id: <201408041930.s74JUEgU038367@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: r271867 - 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: Mon, 04 Aug 2014 19:30:14 -0000 Author: dpl Date: Mon Aug 4 19:30:13 2014 New Revision: 271867 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=271867 Log: Changed function types to what we're going to use. Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw2.c Modified: soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw2.c ============================================================================== --- soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw2.c Mon Aug 4 19:29:15 2014 (r271866) +++ soc2014/dpl/netmap-ipfwjit/sys/netpfil/ipfw/ip_fw2.c Mon Aug 4 19:30:13 2014 (r271867) @@ -128,10 +128,10 @@ static unsigned int default_fw_tables = IPFW_TABLES_DEFAULT; /* JIT compiling API */ -funcptr compile_code(); +funcptr compile_code(ip_fw_args *, ip_fw_chain *); /* Pointer to the actual compiled code */ -int (*compiledfuncptr)() = 0; +int (*compiledfuncptr)(struct ip_fw_args *) = 0; /* * Each rule belongs to one of 32 different sets (0..31).