Date: Wed, 29 Jun 2011 10:06:58 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201106291008.p5TA8TbR020669@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106291008.p5TA8TbR020669>
