netfilter: nf_tables: add helper functions for expression handling
authorPatrick McHardy <kaber@trash.net>
Sat, 11 Apr 2015 09:46:38 +0000 (10:46 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 13 Apr 2015 18:12:31 +0000 (20:12 +0200)
commit0b2d8a7b638b5034d2d68f6add8af94daaa1d4cd
tree0e10c271d522dd144f22e474af5f73a7c4214091
parent24477e57412a7a7dea62637ac990bc5c1cff0665
netfilter: nf_tables: add helper functions for expression handling

Add helper functions for initializing, cloning, dumping and destroying
a single expression that is not part of a rule.

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