summaryrefslogtreecommitdiffstats
path: root/include/net/netfilter/nf_tables.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso2017-01-18 18:30:11 +0100
committerPablo Neira Ayuso2017-02-08 14:16:20 +0100
commit55af753cd9fda9c5300f5318253b08bd15fb412e (patch)
tree35926555e9405d9e5b05f8cd3255b264edb31138 /include/net/netfilter/nf_tables.h
parentnetfilter: nf_tables: add flush field to struct nft_set_iter (diff)
downloadkernel-qcow2-linux-55af753cd9fda9c5300f5318253b08bd15fb412e.tar.gz
kernel-qcow2-linux-55af753cd9fda9c5300f5318253b08bd15fb412e.tar.xz
kernel-qcow2-linux-55af753cd9fda9c5300f5318253b08bd15fb412e.zip
netfilter: nf_tables: rename struct nft_set_estimate class field
Use lookup as field name instead, to prepare the introduction of the memory class in a follow up patch. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_tables.h')
-rw-r--r--include/net/netfilter/nf_tables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index 5830f594842e..d76ac2f80a40 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -244,11 +244,11 @@ enum nft_set_class {
* characteristics
*
* @size: required memory
- * @class: lookup performance class
+ * @lookup: lookup performance class
*/
struct nft_set_estimate {
unsigned int size;
- enum nft_set_class class;
+ enum nft_set_class lookup;
};
struct nft_set_ext;