Home
last modified time | relevance | path

Searched refs:valid_hooks (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/net/netfilter/
Dxt_repldata.h18 unsigned int hook_mask = info->valid_hooks; \
34 tbl->repl.valid_hooks = hook_mask; \
/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c303 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
315 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
458 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
482 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
550 repl->valid_hooks); in translate_table()
565 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table()
569 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
822 info.valid_hooks = t->valid_hooks; in get_info()
881 unsigned int valid_hooks, in __do_replace() argument
907 if (valid_hooks != t->valid_hooks) { in __do_replace()
[all …]
Diptable_raw.c21 .valid_hooks = RAW_VALID_HOOKS,
29 .valid_hooks = RAW_VALID_HOOKS,
Dip_tables.c257 WARN_ON(!(table->valid_hooks & (1 << hook))); in ipt_do_table()
368 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
379 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
593 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
617 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
688 repl->valid_hooks); in translate_table()
703 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table()
707 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
977 info.valid_hooks = t->valid_hooks; in get_info()
1036 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument
[all …]
Darptable_filter.c23 .valid_hooks = FILTER_VALID_HOOKS,
Diptable_security.c30 .valid_hooks = SECURITY_VALID_HOOKS,
Diptable_filter.c25 .valid_hooks = FILTER_VALID_HOOKS,
Diptable_mangle.c30 .valid_hooks = MANGLE_VALID_HOOKS,
Diptable_nat.c24 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
/linux-6.6.21/net/bridge/netfilter/
Debtable_filter.c36 .valid_hooks = FILTER_VALID_HOOKS,
49 .valid_hooks = FILTER_VALID_HOOKS,
Debtable_nat.c36 .valid_hooks = NAT_VALID_HOOKS,
49 .valid_hooks = NAT_VALID_HOOKS,
Debtable_broute.c31 .valid_hooks = 1 << NF_BR_BROUTING,
42 .valid_hooks = 1 << NF_BR_BROUTING,
Debtables.c470 unsigned int valid_hooks = repl->valid_hooks; in ebt_verify_pointers() local
488 if ((valid_hooks & (1 << i)) == 0) in ebt_verify_pointers()
523 (valid_hooks & (1 << i))) in ebt_verify_pointers()
1043 if (repl->valid_hooks != t->valid_hooks) { in do_replace_finish()
1225 if ((repl->valid_hooks & (1 << i)) == 0) in ebt_register_table()
1251 num_ops = hweight32(table->valid_hooks); in ebt_register_table()
1363 nf_unregister_net_hooks(net, table->ops, hweight32(table->valid_hooks)); in ebt_unregister_table_pre_exit()
1589 compat_uint_t valid_hooks; member
2394 tmp.valid_hooks = t->valid_hooks; in compat_do_ebt_get_ctl()
2405 tmp.valid_hooks = t->table->valid_hooks; in compat_do_ebt_get_ctl()
[all …]
/linux-6.6.21/net/ipv6/netfilter/
Dip6table_raw.c20 .valid_hooks = RAW_VALID_HOOKS,
28 .valid_hooks = RAW_VALID_HOOKS,
Dip6_tables.c278 WARN_ON(!(table->valid_hooks & (1 << hook))); in ip6t_do_table()
386 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
397 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
611 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
635 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
705 repl->valid_hooks); in translate_table()
720 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table()
724 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
993 info.valid_hooks = t->valid_hooks; in get_info()
1053 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument
[all …]
Dip6table_security.c29 .valid_hooks = SECURITY_VALID_HOOKS,
Dip6table_filter.c24 .valid_hooks = FILTER_VALID_HOOKS,
Dip6table_mangle.c25 .valid_hooks = MANGLE_VALID_HOOKS,
Dip6table_nat.c26 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
/linux-6.6.21/include/uapi/linux/netfilter_arp/
Darp_tables.h141 unsigned int valid_hooks; member
163 unsigned int valid_hooks; member
/linux-6.6.21/include/uapi/linux/netfilter_ipv4/
Dip_tables.h163 unsigned int valid_hooks; member
185 unsigned int valid_hooks; member
/linux-6.6.21/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h203 unsigned int valid_hooks; member
225 unsigned int valid_hooks; member
/linux-6.6.21/include/uapi/linux/netfilter_bridge/
Debtables.h46 unsigned int valid_hooks; member
62 unsigned int valid_hooks; member
/linux-6.6.21/include/linux/netfilter_bridge/
Debtables.h95 unsigned int valid_hooks; member
/linux-6.6.21/include/linux/netfilter/
Dx_tables.h227 unsigned int valid_hooks; member
284 int xt_check_table_hooks(const struct xt_table_info *info, unsigned int valid_hooks);

12