Lines Matching defs:table

251 	const struct xt_table *table = priv;
278 WARN_ON(!(table->valid_hooks & (1 << hook)));
282 private = READ_ONCE(table->private); /* Address dependency. */
330 state->out, table->name, private, e);
520 .table = name,
551 mtpar.table = name;
674 /* Checks and translates the user-supplied table segment (held in
805 static struct xt_counters *alloc_counters(const struct xt_table *table)
809 const struct xt_table_info *private = table->private;
827 const struct xt_table *table,
833 const struct xt_table_info *private = table->private;
837 counters = alloc_counters(table);
1104 /* Silent error, can't fail, new table is already in place */
1105 net_warn_ratelimited("ip6tables: counters copy to user failed while replacing table\n");
1559 compat_copy_entries_to_user(unsigned int total_size, struct xt_table *table,
1563 const struct xt_table_info *private = table->private;
1570 counters = alloc_counters(table);
1714 static void __ip6t_unregister_table(struct net *net, struct xt_table *table)
1718 struct module *table_owner = table->me;
1721 private = xt_unregister_table(table);
1732 int ip6t_register_table(struct net *net, const struct xt_table *table,
1757 new_table = xt_register_table(net, table, &bootstrap, newinfo);
1770 num_ops = hweight32(table->valid_hooks);
1800 struct xt_table *table = xt_find_table(net, NFPROTO_IPV6, name);
1802 if (table)
1803 nf_unregister_net_hooks(net, table->ops, hweight32(table->valid_hooks));
1808 struct xt_table *table = xt_find_table(net, NFPROTO_IPV6, name);
1810 if (table)
1811 __ip6t_unregister_table(net, table);