/net/bridge/netfilter/ |
D | ebtable_broute.c | 28 .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,
|
D | ebtable_nat.c | 34 .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,
|
D | ebtable_filter.c | 34 .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,
|
D | ebtables.c | 424 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/ |
D | arp_tables.c | 370 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 …]
|
D | ip_tables.c | 325 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 …]
|
D | arptable_filter.c | 22 .valid_hooks = FILTER_VALID_HOOKS,
|
D | iptable_raw.c | 15 .valid_hooks = RAW_VALID_HOOKS,
|
D | iptable_security.c | 33 .valid_hooks = SECURITY_VALID_HOOKS,
|
D | iptable_filter.c | 29 .valid_hooks = FILTER_VALID_HOOKS,
|
D | iptable_mangle.c | 33 .valid_hooks = MANGLE_VALID_HOOKS,
|
D | iptable_nat.c | 23 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
|
/net/netfilter/ |
D | xt_repldata.h | 17 unsigned int hook_mask = info->valid_hooks; \ 33 tbl->repl.valid_hooks = hook_mask; \
|
D | x_tables.c | 1479 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/ |
D | ip6_tables.c | 347 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 …]
|
D | ip6table_raw.c | 14 .valid_hooks = RAW_VALID_HOOKS,
|
D | ip6table_security.c | 32 .valid_hooks = SECURITY_VALID_HOOKS,
|
D | ip6table_filter.c | 27 .valid_hooks = FILTER_VALID_HOOKS,
|
D | ip6table_mangle.c | 28 .valid_hooks = MANGLE_VALID_HOOKS,
|
D | ip6table_nat.c | 25 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
|