path: root/include/data_reg.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/data_reg.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/data_reg.h')
1 files changed, 4 insertions, 4 deletions
diff --git a/include/data_reg.h b/include/data_reg.h
index e0fdd10..0f2ae9a 100644
--- a/include/data_reg.h
+++ b/include/data_reg.h
@@ -12,7 +12,7 @@ enum {
-union nft_data_reg {
+union nftnl_data_reg {
struct {
uint32_t val[NFT_DATA_VALUE_MAXLEN / sizeof(uint32_t)];
uint32_t len;
@@ -23,11 +23,11 @@ union nft_data_reg {
-int nft_data_reg_snprintf(char *buf, size_t size, union nft_data_reg *reg,
+int nftnl_data_reg_snprintf(char *buf, size_t size, union nftnl_data_reg *reg,
uint32_t output_format, uint32_t flags, int reg_type);
struct nlattr;
-int nft_parse_data(union nft_data_reg *data, struct nlattr *attr, int *type);
-void nft_free_verdict(union nft_data_reg *data);
+int nftnl_parse_data(union nftnl_data_reg *data, struct nlattr *attr, int *type);
+void nftnl_free_verdict(union nftnl_data_reg *data);