Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jul 2011 10:01:41 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Julian Elischer <julian@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r223666 - in head: sbin/ipfw sys/netinet sys/netinet/ipfw
Message-ID:  <4E0D62C5.4000909@yandex.ru>
In-Reply-To: <4E0D57C4.4070502@freebsd.org>
References:  <201106291006.p5TA6w0m089164@svn.freebsd.org> <4E0D57C4.4070502@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig86C19A5E55178CF0AD2E2E93
Content-Type: text/plain; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On 01.07.2011 9:14, Julian Elischer wrote:
>>    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 high=
er.
>>
>>    Submitted by:    Vadim Goncharov
>>    Discussed by:    ipfw@, luigi@
>>
>> Modified:
> what happens if the return target is removed in the meanwhile?

This implementation does not keep pointer to the rule, only rule number.
So return action will work like "skipto <number from the stack + 1>".
If you remove rule with call action it will search first rule with number=
 greater
than it had.

--=20
WBR, Andrey V. Elsukov


--------------enig86C19A5E55178CF0AD2E2E93
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJODWLJAAoJEAHF6gQQyKF6niIH/3BKq9iT3W+GQTiGFf5L3NbI
35fk9TzHn/4YUb2vltbmvnoVM8uVu4K2EGXcdtTjNtNFhC3y08KPaPhTdTArBGbF
lBiicQU+0ThDbtH79etC3LAVZekfdAFIFgaCFsi/4dweuycZEhZccQ2nQBG6zCHb
MwqFfQtT29zH0IplplxDySMu1KIdbLRU1KpobjseoCnfqn9x+ZkT3kzdk1DaoMev
9z9JEsfumuutxTaTumR4+48VCNFSVZbWBnMJ6XsgED3OJS3GEHv4xUnoLiWSiA91
xoMHC/zjJk/CVii9kU3XfzvpT+JtlH8NzSwj1eDnt1ZCSrpjX5uT27iuJFRWMYE=
=qrDc
-----END PGP SIGNATURE-----

--------------enig86C19A5E55178CF0AD2E2E93--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E0D62C5.4000909>