summaryrefslogtreecommitdiffstats
path: root/include/set_elem.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-09-01 20:19:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-07 19:24:19 +0200
commit760768890e60617acfd144dce875a4a3be14513c (patch)
tree14a3a4f53e81fd9b44c8481e123f2c0ceb6f2bff /include/set_elem.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 <pablo@netfilter.org>
Diffstat (limited to 'include/set_elem.h')
-rw-r--r--include/set_elem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/set_elem.h b/include/set_elem.h
index bdefe4b..13e096c 100644
--- a/include/set_elem.h
+++ b/include/set_elem.h
@@ -3,12 +3,12 @@
#include <data_reg.h>
-struct nft_set_elem {
+struct nftnl_set_elem {
struct list_head head;
uint32_t set_elem_flags;
- union nft_data_reg key;
- union nft_data_reg data;
- struct nft_rule_expr *expr;
+ union nftnl_data_reg key;
+ union nftnl_data_reg data;
+ struct nftnl_rule_expr *expr;
uint32_t flags;
uint64_t timeout;
uint64_t expiration;