diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-01 20:19:56 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-09-07 19:24:19 +0200 |
commit | 760768890e60617acfd144dce875a4a3be14513c (patch) | |
tree | 14a3a4f53e81fd9b44c8481e123f2c0ceb6f2bff /include/data_reg.h | |
parent | b7154e52fc417e927bef0bbfa5db6e7a71f28602 (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/data_reg.h')
-rw-r--r-- | include/data_reg.h | 8 |
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 { DATA_CHAIN, }; -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); #endif |