diff options
author | Patrick McHardy <kaber@trash.net> | 2015-04-10 21:27:35 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-04-13 11:17:27 -0400 |
commit | 8cd8937ac0d68435b4ca9bd3c987c3cfea269b4f (patch) | |
tree | f3ac8d3a164db637028fc52458c53a503c6379d6 /include/net | |
parent | e562d860d7c8ad28f83dc4c9094fd3ae648ea0d6 (diff) |
netfilter: nf_tables: convert sets to u32 data pointers
Simple conversion to use u32 pointers to the beginning of the data
area to keep follow up patches smaller.
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index fca0b5def629..efcf46ddd1d5 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h | |||
@@ -231,10 +231,10 @@ struct nft_expr; | |||
231 | */ | 231 | */ |
232 | struct nft_set_ops { | 232 | struct nft_set_ops { |
233 | bool (*lookup)(const struct nft_set *set, | 233 | bool (*lookup)(const struct nft_set *set, |
234 | const struct nft_data *key, | 234 | const u32 *key, |
235 | const struct nft_set_ext **ext); | 235 | const struct nft_set_ext **ext); |
236 | bool (*update)(struct nft_set *set, | 236 | bool (*update)(struct nft_set *set, |
237 | const struct nft_data *key, | 237 | const u32 *key, |
238 | void *(*new)(struct nft_set *, | 238 | void *(*new)(struct nft_set *, |
239 | const struct nft_expr *, | 239 | const struct nft_expr *, |
240 | struct nft_regs *), | 240 | struct nft_regs *), |