From owner-cvs-src-old@FreeBSD.ORG Wed Jun 29 10:08:30 2011 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 1F323106566C for ; Wed, 29 Jun 2011 10:08:30 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBB88FC47 for ; Wed, 29 Jun 2011 10:08:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5TA8T7j020670 for ; Wed, 29 Jun 2011 10:08:29 GMT (envelope-from ae@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5TA8TbR020669 for cvs-src-old@freebsd.org; Wed, 29 Jun 2011 10:08:29 GMT (envelope-from ae@repoman.freebsd.org) Message-Id: <201106291008.p5TA8TbR020669@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to ae@repoman.freebsd.org using -f From: "Andrey V. Elsukov" Date: Wed, 29 Jun 2011 10:06:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c ipfw2.h src/sys/netinet ip_fw.h ip_var.h src/sys/netinet/ipfw ip_fw2.c ip_fw_log.c ip_fw_sockopt.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: Wed, 29 Jun 2011 10:08:30 -0000 ae 2011-06-29 10:06:58 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 ipfw2.c ipfw2.h sys/netinet ip_fw.h ip_var.h sys/netinet/ipfw ip_fw2.c ip_fw_log.c ip_fw_sockopt.c Log: SVN rev 223666 on 2011-06-29 10:06:58Z by ae Add new rule actions "call" and "return" to ipfw. They make possible to organize subroutines with rules. The "call" action saves the current rule number in the internal stack and rules processing continues from the first rule with specified number (similar to skipto action). If later a rule with "return" action is encountered, the processing returns to the first rule with number of "call" rule saved in the stack plus one or higher. Submitted by: Vadim Goncharov Discussed by: ipfw@, luigi@ Revision Changes Path 1.248 +88 -1 src/sbin/ipfw/ipfw.8 1.166 +16 -0 src/sbin/ipfw/ipfw2.c 1.17 +2 -0 src/sbin/ipfw/ipfw2.h 1.141 +8 -0 src/sys/netinet/ip_fw.h 1.122 +1 -0 src/sys/netinet/ip_var.h 1.60 +117 -0 src/sys/netinet/ipfw/ip_fw2.c 1.13 +7 -0 src/sys/netinet/ipfw/ip_fw_log.c 1.22 +1 -0 src/sys/netinet/ipfw/ip_fw_sockopt.c