summaryrefslogtreecommitdiffstats
path: root/include/libnftables/rule.h
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2013-07-06 17:33:13 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-07-19 13:20:35 +0200
commit28d03e97ec0d155c6d9708522985915530cbb356 (patch)
treef03dd1ae8ad3bb8a46ee8bb053d72501dd2f1cb9 /include/libnftables/rule.h
parent6cdc49ffbe0a672c27f4fffe831563b12a8e2e61 (diff)
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 <eric@regit.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftables/rule.h')
-rw-r--r--include/libnftables/rule.h1
1 files changed, 1 insertions, 0 deletions
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);