summaryrefslogtreecommitdiffstats
path: root/include/libnftnl/ruleset.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 18:02:50 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 20:01:05 +0200
commit0e7b6c4983af4ddd3a50c3ce756638af157c7130 (patch)
tree2a2a0245283905a7540a292c5181926e6070ad4a /include/libnftnl/ruleset.h
parentd549a220dc3cd3294f4b16a5c04c9df298835486 (diff)
src: get rid of _ATTR_ infix in new nfntl_ definitions
The constant names are already large, trim off the _ATTR_ infix in the attribute definitions. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/ruleset.h')
-rw-r--r--include/libnftnl/ruleset.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libnftnl/ruleset.h b/include/libnftnl/ruleset.h
index 6c304dc..a627e1d 100644
--- a/include/libnftnl/ruleset.h
+++ b/include/libnftnl/ruleset.h
@@ -19,10 +19,10 @@ struct nftnl_ruleset *nftnl_ruleset_alloc(void);
void nftnl_ruleset_free(struct nftnl_ruleset *r);
enum {
- NFTNL_RULESET_ATTR_TABLELIST = 0,
- NFTNL_RULESET_ATTR_CHAINLIST,
- NFTNL_RULESET_ATTR_SETLIST,
- NFTNL_RULESET_ATTR_RULELIST,
+ NFTNL_RULESET_TABLELIST = 0,
+ NFTNL_RULESET_CHAINLIST,
+ NFTNL_RULESET_SETLIST,
+ NFTNL_RULESET_RULELIST,
};
enum nftnl_ruleset_type {