summaryrefslogtreecommitdiffstats
path: root/include/rule.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-08-20 18:21:37 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-08-26 18:52:28 +0200
commit913979f882d13360cba11fd4402d193d74b0396a (patch)
tree57a4d6846407b1457332cdcd113965a0c7644b9f /include/rule.h
parentcf456cdf82b9ee64c53a23cc64cf231d58bce452 (diff)
src: add expression handler hashtable
netlink_parsers is actually small, but update this code to use a hashtable instead since more expressions may come in the future. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/rule.h')
-rw-r--r--include/rule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rule.h b/include/rule.h
index caca63d0..f2f82cc0 100644
--- a/include/rule.h
+++ b/include/rule.h
@@ -7,6 +7,7 @@
#include <netinet/in.h>
#include <libnftnl/object.h> /* For NFTNL_CTTIMEOUT_ARRAY_MAX. */
#include <linux/netfilter/nf_tables.h>
+#include <string.h>
/**
* struct handle_spec - handle ID