From e33798478176f97edf2649cd61444e0375fdc12b Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 6 Dec 2018 17:17:51 +0100 Subject: chain: Support per chain rules list The implementation basically copies expr_list in struct nftnl_rule. Signed-off-by: Phil Sutter Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/rule.c') diff --git a/src/rule.c b/src/rule.c index 9af8fae..e5d21ef 100644 --- a/src/rule.c +++ b/src/rule.c @@ -30,28 +30,6 @@ #include #include -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) { -- cgit v1.2.3