path: root/include/set.h
diff options
authorPablo Neira Ayuso <>2015-09-01 20:19:56 +0200
committerPablo Neira Ayuso <>2015-09-07 19:24:19 +0200
commit760768890e60617acfd144dce875a4a3be14513c (patch)
tree14a3a4f53e81fd9b44c8481e123f2c0ceb6f2bff /include/set.h
parentb7154e52fc417e927bef0bbfa5db6e7a71f28602 (diff)
src: rename existing functions to use the nftnl_ prefix
So we can use the nft_* prefix anytime soon for our upcoming higher level library. After this patch, the nft_* symbols become an alias of the nftnl_* symbols. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/set.h')
1 files changed, 4 insertions, 4 deletions
diff --git a/include/set.h b/include/set.h
index 008ed6e..1addd0f 100644
--- a/include/set.h
+++ b/include/set.h
@@ -3,7 +3,7 @@
#include <linux/netfilter/nf_tables.h>
-struct nft_set {
+struct nftnl_set {
struct list_head head;
uint32_t family;
@@ -26,9 +26,9 @@ struct nft_set {
uint64_t timeout;
-struct nft_set_list;
-struct nft_rule_expr;
-int nft_set_lookup_id(struct nft_rule_expr *e, struct nft_set_list *set_list,
+struct nftnl_set_list;
+struct nftnl_rule_expr;
+int nftnl_set_lookup_id(struct nftnl_rule_expr *e, struct nftnl_set_list *set_list,
uint32_t *set_id);