netfilter: ctnetlink: support kernel-space dump filtering by ctmark
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Feb 2012 14:41:50 +0000 (14:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Feb 2012 19:12:33 +0000 (14:12 -0500)
This patch adds CTA_MARK_MASK which, together with CTA_MARK, allows
you to selectively send conntrack entries to user-space by
returning those that match mark & mask.

With this, we can save cycles in the building and the parsing of
the entries that may be later on filtered out in user-space by using
the ctmark & mask.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found