]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r223666:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Jan 2012 10:33:19 +0000 (10:33 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 26 Jan 2012 10:33:19 +0000 (10:33 +0000)
commit4d71a1c6a3b223834329a068c2b48cbe1a2399f2
treee3b47d5b7a215f1ac45616302ce2abc467387c38
parented5082d285100724cf45488ed2e9fe6b8b9fe73d
MFC r223666:
  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

git-svn-id: svn://svn.freebsd.org/base/stable/8@230575 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ipfw/ipfw.8
sbin/ipfw/ipfw2.c
sbin/ipfw/ipfw2.h
sys/netinet/ip_fw.h
sys/netinet/ip_var.h
sys/netinet/ipfw/ip_fw2.c
sys/netinet/ipfw/ip_fw_log.c
sys/netinet/ipfw/ip_fw_sockopt.c