summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/object.h
diff options
context:
space:
mode:
authorSt├ęphane Veyret <sveyret@gmail.com>2019-05-31 18:51:44 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-06-19 13:11:13 +0200
commitc4b6aa09b85d2604a07ad4b4464b1cbf6e7fa238 (patch)
tree49e851419f12137434873b475f5da3e218d608b5 /include/libnftnl/object.h
parentd819a832e0214a3bec3679345f542644596a2850 (diff)
src: add ct expectation support
Add support for ct expectation objects, used to define specific expectations. Signed-off-by: St├ęphane Veyret <sveyret@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/object.h')
-rw-r--r--include/libnftnl/object.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libnftnl/object.h b/include/libnftnl/object.h
index 4ce2230..cce0713 100644
--- a/include/libnftnl/object.h
+++ b/include/libnftnl/object.h
@@ -71,6 +71,14 @@ enum {
};
enum {
+ NFTNL_OBJ_CT_EXPECT_L3PROTO = NFTNL_OBJ_BASE,
+ NFTNL_OBJ_CT_EXPECT_L4PROTO,
+ NFTNL_OBJ_CT_EXPECT_DPORT,
+ NFTNL_OBJ_CT_EXPECT_TIMEOUT,
+ NFTNL_OBJ_CT_EXPECT_SIZE,
+};
+
+enum {
NFTNL_OBJ_LIMIT_RATE = NFTNL_OBJ_BASE,
NFTNL_OBJ_LIMIT_UNIT,
NFTNL_OBJ_LIMIT_BURST,