Place them in the library, so iptables and nftables do not need to
redefine them.

Signed-off-by: Pablo Neira Ayuso <[email protected]>
---
No need to use these definitions right now. But let's place them here
already so we don't forget.

 include/libnftnl/udata.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/libnftnl/udata.h b/include/libnftnl/udata.h
index 7dfc0ca9033f..074b64668634 100644
--- a/include/libnftnl/udata.h
+++ b/include/libnftnl/udata.h
@@ -9,6 +9,11 @@
 extern "C" {
 #endif
 
+enum nftnl_udata_types {
+       NFTNL_UDATA_COMMENT,
+       NFTNL_UDATA_EBTABLES_POLICY,
+};
+
 /*
  * nftnl user data attributes API
  */
-- 
2.11.0

Reply via email to