diff options
author | Phil Sutter <phil@nwl.cc> | 2018-12-06 17:17:51 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-07 10:49:24 +0100 |
commit | e33798478176f97edf2649cd61444e0375fdc12b (patch) | |
tree | ad72ed00b2170dfdd8065de8e6b38de32f9c0d7e /src/rule.c | |
parent | 7c5870bb59e5822a02bec262cebfb86e18680ad5 (diff) |
chain: Support per chain rules list
The implementation basically copies expr_list in struct nftnl_rule.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/rule.c')
-rw-r--r-- | src/rule.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -30,28 +30,6 @@ #include <libnftnl/set.h> #include <libnftnl/expr.h> -struct nftnl_rule { - struct list_head head; - - uint32_t flags; - uint32_t family; - const char *table; - const char *chain; - uint64_t handle; - uint64_t position; - uint32_t id; - struct { - void *data; - uint32_t len; - } user; - struct { - uint32_t flags; - uint32_t proto; - } compat; - - struct list_head expr_list; -}; - EXPORT_SYMBOL(nftnl_rule_alloc); struct nftnl_rule *nftnl_rule_alloc(void) { |