summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorFelix Huettner <felix.huettner@mail.schwarz>2023-12-05 09:35:03 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2024-01-24 21:16:34 +0100
commit931dc2d4c9195ab50974ce8af1a14053f2ebdc84 (patch)
treee9b293569350ced9331be06ef1866c810d6f8087 /include/internal
parentc70c6457b256434ef039eabef243098301df0ea1 (diff)
dump: support filtering by zone
based on a kernel side extension of the conntrack api, this patch brings this extension to userspace. When dumping the conntrack table we can now filter based on the conntrack zone directly in kernel space. If the kernel does not yet support this feature this filtering is ignored. Signed-off-by: Felix Huettner <felix.huettner@mail.schwarz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h
index 4cac4f1..8854ef2 100644
--- a/include/internal/object.h
+++ b/include/internal/object.h
@@ -293,6 +293,7 @@ struct nfct_filter_dump {
struct nfct_filter_dump_mark status;
uint8_t l3num;
uint32_t set;
+ uint16_t zone;
};
/*