summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-08-12 18:47:14 +0200
committerPhil Sutter <phil@nwl.cc>2025-08-28 12:39:31 +0200
commiteb8fb569c501dc088dc950061369102687f8d2a5 (patch)
treed828fe9206b45f24568503d6d1c4a6405f417d6e /include
parent239fbdb8979dd4f322af187dc609f292a36c3ac6 (diff)
udata: Introduce NFTNL_UDATA_TABLE_NFT{VER,BLD}
Register these table udata types here to avoid accidental overlaps. Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/libnftnl/udata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libnftnl/udata.h b/include/libnftnl/udata.h
index dbf3a60..9b8a3b6 100644
--- a/include/libnftnl/udata.h
+++ b/include/libnftnl/udata.h
@@ -11,6 +11,8 @@ extern "C" {
enum nftnl_udata_table_types {
NFTNL_UDATA_TABLE_COMMENT,
+ NFTNL_UDATA_TABLE_NFTVER,
+ NFTNL_UDATA_TABLE_NFTBLD,
__NFTNL_UDATA_TABLE_MAX
};
#define NFTNL_UDATA_TABLE_MAX (__NFTNL_UDATA_TABLE_MAX - 1)