netfilter: nf_tables: add transaction helper functions
authorPatrick McHardy <kaber@trash.net>
Wed, 25 Mar 2015 14:08:49 +0000 (14:08 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Mar 2015 10:09:35 +0000 (11:09 +0100)
commitea4bd995b0f2fc5677ff8085e92a5d2544b9937c
tree57779db0522e30391cc7da130ba49d36f57761f4
parentb2832dd6621bf73eb8ad38389a94bd83a5983886
netfilter: nf_tables: add transaction helper functions

Add some helper functions for building the genmask as preparation for
set transactions.

Also add a little documentation how this stuff actually works.

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