netfilter: xt_conntrack: support matching on port ranges
authorPatrick McHardy <kaber@trash.net>
Wed, 15 Dec 2010 08:46:26 +0000 (09:46 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 13 Jan 2011 11:05:12 +0000 (12:05 +0100)
commitb017900aac4a158b9bf7ffdcb8a369a91115b3e4
tree8516ac2dae8db038e7e45d76a1c8ecfb75faf7a9
parent5df15196a2bbf16ca4c6a797ec00ff36d0d5c179
netfilter: xt_conntrack: support matching on port ranges

Add a new revision 3 that contains port ranges for all of origsrc,
origdst, replsrc and repldst. The high ports are appended to the
original v2 data structure to allow sharing most of the code with
v1 and v2. Use of the revision specific port matching function is
made dependant on par->match->revision.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/xt_conntrack.h
net/netfilter/xt_conntrack.c