diff options
| author | Patrick McHardy <kaber@trash.net> | 2015-04-10 21:27:27 -0400 |
|---|---|---|
| committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-04-13 10:25:49 -0400 |
| commit | 1ec10212f9bc62645932b0ca39bab0eb57d5331a (patch) | |
| tree | ecf25f44bb8ade27662e67552711403560bf408d /include/net | |
| parent | 45d9bcda21f4c13be75e3571b0f0ef39e77934b5 (diff) | |
netfilter: nf_tables: rename nft_validate_data_load()
The existing name is ambiguous, data is loaded as well when we read from
a register. Rename to nft_validate_register_store() for clarity and
consistency with the upcoming patch to introduce its counterpart,
nft_validate_register_load().
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/netfilter/nf_tables.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index f491243ff58b..7251f2034e30 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h | |||
| @@ -114,9 +114,10 @@ static inline enum nft_registers nft_type_to_reg(enum nft_data_types type) | |||
| 114 | 114 | ||
| 115 | int nft_validate_input_register(enum nft_registers reg); | 115 | int nft_validate_input_register(enum nft_registers reg); |
| 116 | int nft_validate_output_register(enum nft_registers reg); | 116 | int nft_validate_output_register(enum nft_registers reg); |
| 117 | int nft_validate_data_load(const struct nft_ctx *ctx, enum nft_registers reg, | 117 | int nft_validate_register_store(const struct nft_ctx *ctx, |
| 118 | const struct nft_data *data, | 118 | enum nft_registers reg, |
| 119 | enum nft_data_types type, unsigned int len); | 119 | const struct nft_data *data, |
| 120 | enum nft_data_types type, unsigned int len); | ||
| 120 | 121 | ||
| 121 | 122 | ||
| 122 | /** | 123 | /** |
