summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-16 22:25:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-17 03:23:00 +0200
commit836382dc24717af203ce06703530528827086955 (patch)
tree62fe7e2f32fa530b2657b019e5df2348b337e386 /include/net/netfilter
parent06e95f0a2aa24d480cbc0c3bd18ca49e1c85f868 (diff)
downloadlinux-stable-836382dc24717af203ce06703530528827086955.tar.gz
linux-stable-836382dc24717af203ce06703530528827086955.tar.bz2
linux-stable-836382dc24717af203ce06703530528827086955.zip
netfilter: nf_tables: add last expression
Add a new optional expression that tells you when last matching on a given rule / set element element has happened. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r--include/net/netfilter/nf_tables_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables_core.h b/include/net/netfilter/nf_tables_core.h
index 46c8d5bb5d8d..0fa5a6d98a00 100644
--- a/include/net/netfilter/nf_tables_core.h
+++ b/include/net/netfilter/nf_tables_core.h
@@ -16,6 +16,7 @@ extern struct nft_expr_type nft_range_type;
extern struct nft_expr_type nft_meta_type;
extern struct nft_expr_type nft_rt_type;
extern struct nft_expr_type nft_exthdr_type;
+extern struct nft_expr_type nft_last_type;
#ifdef CONFIG_NETWORK_SECMARK
extern struct nft_object_type nft_secmark_obj_type;