From owner-cvs-src-old@FreeBSD.ORG Thu Dec 3 14:22:37 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5480106566C for ; Thu, 3 Dec 2009 14:22:37 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C38FE8FC12 for ; Thu, 3 Dec 2009 14:22:37 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nB3EMbO3040001 for ; Thu, 3 Dec 2009 14:22:37 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nB3EMbpr040000 for cvs-src-old@freebsd.org; Thu, 3 Dec 2009 14:22:37 GMT (envelope-from luigi@repoman.freebsd.org) Message-Id: <200912031422.nB3EMbpr040000@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to luigi@repoman.freebsd.org using -f From: Luigi Rizzo Date: Thu, 3 Dec 2009 14:22:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet/ipfw ip_fw2.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 14:22:37 -0000 luigi 2009-12-03 14:22:15 UTC FreeBSD src repository Modified files: sys/netinet/ipfw ip_fw2.c Log: SVN rev 200059 on 2009-12-03 14:22:15Z by luigi preparation work to replace the monster switch in ipfw_chk() with table of functions. This commit (which is heavily based on work done by Marta Carbone in this year's GSOC project), removes the goto's and explicit return from the inner switch(), so we will have a easier time when putting the blocks into individual functions. MFC after: 3 weeks Revision Changes Path 1.20 +203 -137 src/sys/netinet/ipfw/ip_fw2.c