From 28d03e97ec0d155c6d9708522985915530cbb356 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sat, 6 Jul 2013 17:33:13 +0200 Subject: rule: add support for position attribute This patch adds support for position attribute which can be used to insert a rule at a given position. Signed-off-by: Eric Leblond Signed-off-by: Pablo Neira Ayuso --- include/libnftables/rule.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libnftables') diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h index ea136ff..9adfcfc 100644 --- a/include/libnftables/rule.h +++ b/include/libnftables/rule.h @@ -22,6 +22,7 @@ enum { NFT_RULE_ATTR_FLAGS, NFT_RULE_ATTR_COMPAT_PROTO, NFT_RULE_ATTR_COMPAT_FLAGS, + NFT_RULE_ATTR_POSITION, }; void nft_rule_attr_unset(struct nft_rule *r, uint16_t attr); -- cgit v1.2.3