summaryrefslogtreecommitdiffstats
path: root/include/internal/object.h
diff options
context:
space:
mode:
authorKen-ichirou MATSUZAWA <chamaken@gmail.com>2015-03-13 07:21:40 +0900
committerFlorian Westphal <fw@strlen.de>2015-03-13 14:37:27 +0100
commitc44b4657fa84d66423c19a4e60e5ef9d1633daeb (patch)
tree1ea33d9f5e7b1d0efd7d60577bd732b1a7f673ce /include/internal/object.h
parent8cab40790d9b7fefc6ca2bb100384b8d0cedfdc2 (diff)
conntrack: add mark event filter
This patch adds mark filter for event listener, using same struct nfct_filter_dump_mark at dump. Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include/internal/object.h')
-rw-r--r--include/internal/object.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/internal/object.h b/include/internal/object.h
index 540ad0d..1259467 100644
--- a/include/internal/object.h
+++ b/include/internal/object.h
@@ -263,6 +263,13 @@ struct nfct_filter {
u_int32_t mask[4];
} l3proto_ipv6[2][__FILTER_IPV6_MAX];
+ u_int32_t mark_elems;
+ struct {
+#define __FILTER_MARK_MAX 127
+ u_int32_t val;
+ u_int32_t mask;
+ } mark[__FILTER_MARK_MAX];
+
u_int32_t set[1];
};