Home
last modified time | relevance | path

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

/net/bridge/netfilter/
Debtable_broute.c28 .valid_hooks = 1 << NF_BR_BROUTING,
36 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) in check() argument
38 if (valid_hooks & ~(1 << NF_BR_BROUTING)) in check()
46 .valid_hooks = 1 << NF_BR_BROUTING,
Debtable_nat.c34 .valid_hooks = NAT_VALID_HOOKS,
44 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) in check() argument
46 if (valid_hooks & ~NAT_VALID_HOOKS) in check()
54 .valid_hooks = NAT_VALID_HOOKS,
Debtable_filter.c34 .valid_hooks = FILTER_VALID_HOOKS,
44 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) in check() argument
46 if (valid_hooks & ~FILTER_VALID_HOOKS) in check()
54 .valid_hooks = FILTER_VALID_HOOKS,
Debtables.c424 unsigned int valid_hooks = repl->valid_hooks; in ebt_verify_pointers() local
442 if ((valid_hooks & (1 << i)) == 0) in ebt_verify_pointers()
480 (valid_hooks & (1 << i))) { in ebt_verify_pointers()
1012 if (t->check && (ret = t->check(newinfo, repl->valid_hooks))) in do_replace_finish()
1198 if ((repl->valid_hooks & (1 << i)) == 0) in ebt_register_table()
1210 if (table->check && table->check(newinfo, table->valid_hooks)) { in ebt_register_table()
1529 tmp.valid_hooks = t->valid_hooks; in do_ebt_get_ctl()
1533 tmp.valid_hooks = t->table->valid_hooks; in do_ebt_get_ctl()
1562 compat_uint_t valid_hooks; member
2340 tmp.valid_hooks = t->valid_hooks; in compat_do_ebt_get_ctl()
[all …]
/net/ipv4/netfilter/
Darp_tables.c370 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
383 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
570 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
595 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
661 repl->valid_hooks); in translate_table()
685 if (!(repl->valid_hooks & (1 << i))) in translate_table()
699 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
943 info.valid_hooks = t->valid_hooks; in get_info()
1009 unsigned int valid_hooks, in __do_replace() argument
1036 if (valid_hooks != t->valid_hooks) { in __do_replace()
[all …]
Dip_tables.c325 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ipt_do_table()
446 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
457 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
732 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
757 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
830 repl->valid_hooks); in translate_table()
851 if (!(repl->valid_hooks & (1 << i))) in translate_table()
865 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
1133 info.valid_hooks = t->valid_hooks; in get_info()
1199 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument
[all …]
Darptable_filter.c22 .valid_hooks = FILTER_VALID_HOOKS,
Diptable_raw.c15 .valid_hooks = RAW_VALID_HOOKS,
Diptable_security.c33 .valid_hooks = SECURITY_VALID_HOOKS,
Diptable_filter.c29 .valid_hooks = FILTER_VALID_HOOKS,
Diptable_mangle.c33 .valid_hooks = MANGLE_VALID_HOOKS,
Diptable_nat.c23 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
/net/netfilter/
Dxt_repldata.h17 unsigned int hook_mask = info->valid_hooks; \
33 tbl->repl.valid_hooks = hook_mask; \
Dx_tables.c1479 unsigned int hook_mask = table->valid_hooks; in xt_hook_link()
1518 nf_unregister_hooks(ops, hweight32(table->valid_hooks)); in xt_hook_unlink()
/net/ipv6/netfilter/
Dip6_tables.c347 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ip6t_do_table()
456 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument
467 if (!(valid_hooks & (1 << hook))) in mark_source_chains()
743 unsigned int valid_hooks) in check_entry_size_and_hooks() argument
768 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks()
840 repl->valid_hooks); in translate_table()
861 if (!(repl->valid_hooks & (1 << i))) in translate_table()
875 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table()
1143 info.valid_hooks = t->valid_hooks; in get_info()
1209 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument
[all …]
Dip6table_raw.c14 .valid_hooks = RAW_VALID_HOOKS,
Dip6table_security.c32 .valid_hooks = SECURITY_VALID_HOOKS,
Dip6table_filter.c27 .valid_hooks = FILTER_VALID_HOOKS,
Dip6table_mangle.c28 .valid_hooks = MANGLE_VALID_HOOKS,
Dip6table_nat.c25 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |