From 16871a3615edcf358d688a8d079b1e7b20053fb1 Mon Sep 17 00:00:00 2001 From: Kristian Evensen Date: Sat, 11 Jan 2014 14:23:35 +0100 Subject: expr: ct: Add support for setting the mark This patch adds userspace support for setting properties of tracked connections. Currently, the connection mark is supported. This can be used to implemented the same functionality as iptables -j CONNMARK --save-mark. Signed-off-by: Kristian Evensen Signed-off-by: Pablo Neira Ayuso --- include/libnftables/expr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnftables/expr.h') diff --git a/include/libnftables/expr.h b/include/libnftables/expr.h index 25455e4..653bbb0 100644 --- a/include/libnftables/expr.h +++ b/include/libnftables/expr.h @@ -124,6 +124,7 @@ enum { NFT_EXPR_CT_DREG = NFT_RULE_EXPR_ATTR_BASE, NFT_EXPR_CT_KEY, NFT_EXPR_CT_DIR, + NFT_EXPR_CT_SREG, }; enum { -- cgit v1.2.3