/Linux-v4.19/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_filter.c | 35 .valid_hooks = FILTER_VALID_HOOKS, 45 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) in check() argument 47 if (valid_hooks & ~FILTER_VALID_HOOKS) in check() 55 .valid_hooks = FILTER_VALID_HOOKS,
|
D | ebtable_nat.c | 35 .valid_hooks = NAT_VALID_HOOKS, 45 static int check(const struct ebt_table_info *info, unsigned int valid_hooks) in check() argument 47 if (valid_hooks & ~NAT_VALID_HOOKS) in check() 55 .valid_hooks = NAT_VALID_HOOKS,
|
D | ebtables.c | 439 unsigned int valid_hooks = repl->valid_hooks; in ebt_verify_pointers() local 457 if ((valid_hooks & (1 << i)) == 0) in ebt_verify_pointers() 496 (valid_hooks & (1 << i))) { in ebt_verify_pointers() 1041 if (t->check && (ret = t->check(newinfo, repl->valid_hooks))) in do_replace_finish() 1229 if ((repl->valid_hooks & (1 << i)) == 0) in ebt_register_table() 1241 if (table->check && table->check(newinfo, table->valid_hooks)) { in ebt_register_table() 1271 ret = nf_register_net_hooks(net, ops, hweight32(table->valid_hooks)); in ebt_register_table() 1295 nf_unregister_net_hooks(net, ops, hweight32(table->valid_hooks)); in ebt_unregister_table() 1569 tmp.valid_hooks = t->valid_hooks; in do_ebt_get_ctl() 1573 tmp.valid_hooks = t->table->valid_hooks; in do_ebt_get_ctl() [all …]
|
/Linux-v4.19/net/netfilter/ |
D | xt_repldata.h | 18 unsigned int hook_mask = info->valid_hooks; \ 34 tbl->repl.valid_hooks = hook_mask; \
|
/Linux-v4.19/net/ipv4/netfilter/ |
D | arp_tables.c | 301 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument 313 if (!(valid_hooks & (1 << hook))) in mark_source_chains() 454 unsigned int valid_hooks) in check_entry_size_and_hooks() argument 478 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks() 543 repl->valid_hooks); in translate_table() 558 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() 562 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table() 816 info.valid_hooks = t->valid_hooks; in get_info() 875 unsigned int valid_hooks, in __do_replace() argument 901 if (valid_hooks != t->valid_hooks) { in __do_replace() [all …]
|
D | iptable_raw.c | 22 .valid_hooks = RAW_VALID_HOOKS, 31 .valid_hooks = RAW_VALID_HOOKS,
|
D | ip_tables.c | 261 WARN_ON(!(table->valid_hooks & (1 << hook))); in ipt_do_table() 372 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument 383 if (!(valid_hooks & (1 << hook))) in mark_source_chains() 597 unsigned int valid_hooks) in check_entry_size_and_hooks() argument 621 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks() 692 repl->valid_hooks); in translate_table() 707 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() 711 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table() 982 info.valid_hooks = t->valid_hooks; in get_info() 1041 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument [all …]
|
D | arptable_filter.c | 24 .valid_hooks = FILTER_VALID_HOOKS,
|
D | iptable_security.c | 35 .valid_hooks = SECURITY_VALID_HOOKS,
|
D | iptable_filter.c | 30 .valid_hooks = FILTER_VALID_HOOKS,
|
D | iptable_nat.c | 25 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
|
D | iptable_mangle.c | 35 .valid_hooks = MANGLE_VALID_HOOKS,
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | ip6table_raw.c | 21 .valid_hooks = RAW_VALID_HOOKS, 30 .valid_hooks = RAW_VALID_HOOKS,
|
D | ip6_tables.c | 282 WARN_ON(!(table->valid_hooks & (1 << hook))); in ip6t_do_table() 390 unsigned int valid_hooks, void *entry0, in mark_source_chains() argument 401 if (!(valid_hooks & (1 << hook))) in mark_source_chains() 615 unsigned int valid_hooks) in check_entry_size_and_hooks() argument 639 if (!(valid_hooks & (1 << h))) in check_entry_size_and_hooks() 709 repl->valid_hooks); in translate_table() 724 ret = xt_check_table_hooks(newinfo, repl->valid_hooks); in translate_table() 728 if (!mark_source_chains(newinfo, repl->valid_hooks, entry0, offsets)) { in translate_table() 998 info.valid_hooks = t->valid_hooks; in get_info() 1058 __do_replace(struct net *net, const char *name, unsigned int valid_hooks, in __do_replace() argument [all …]
|
D | ip6table_security.c | 34 .valid_hooks = SECURITY_VALID_HOOKS,
|
D | ip6table_filter.c | 29 .valid_hooks = FILTER_VALID_HOOKS,
|
D | ip6table_nat.c | 27 .valid_hooks = (1 << NF_INET_PRE_ROUTING) |
|
D | ip6table_mangle.c | 30 .valid_hooks = MANGLE_VALID_HOOKS,
|
/Linux-v4.19/include/uapi/linux/netfilter_arp/ |
D | arp_tables.h | 141 unsigned int valid_hooks; member 163 unsigned int valid_hooks; member
|
/Linux-v4.19/include/linux/netfilter_bridge/ |
D | ebtables.h | 95 unsigned int valid_hooks; member 100 unsigned int valid_hooks);
|
/Linux-v4.19/include/uapi/linux/netfilter_ipv4/ |
D | ip_tables.h | 163 unsigned int valid_hooks; member 185 unsigned int valid_hooks; member
|
/Linux-v4.19/include/uapi/linux/netfilter_ipv6/ |
D | ip6_tables.h | 203 unsigned int valid_hooks; member 225 unsigned int valid_hooks; member
|
/Linux-v4.19/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 46 unsigned int valid_hooks; member 62 unsigned int valid_hooks; member
|
/Linux-v4.19/include/linux/netfilter/ |
D | x_tables.h | 227 unsigned int valid_hooks; member 284 int xt_check_table_hooks(const struct xt_table_info *info, unsigned int valid_hooks);
|