Searched refs:hook_entry (Results 1 – 9 of 9) sorted by relevance
/net/netfilter/ |
D | nf_queue.c | 182 struct nf_hook_entry *hook_entry; in nf_reinject() local 188 hook_entry = rcu_dereference(entry->state.hook_entries); in nf_reinject() 189 elem = &hook_entry->ops; in nf_reinject() 206 hook_entry = rcu_dereference(hook_entry->next); in nf_reinject() 207 if (hook_entry) in nf_reinject() 209 verdict = nf_iterate(skb, &entry->state, &hook_entry); in nf_reinject() 221 err = nf_queue(skb, &entry->state, &hook_entry, verdict); in nf_reinject() 223 if (hook_entry) in nf_reinject()
|
D | xt_repldata.h | 40 tbl->repl.hook_entry[hooknum] = bytes; \
|
/net/bridge/netfilter/ |
D | ebtables.c | 212 chaininfo = private->hook_entry[hook]; in ebt_do_table() 213 nentries = private->hook_entry[hook]->nentries; in ebt_do_table() 214 point = (struct ebt_entry *)(private->hook_entry[hook]->data); in ebt_do_table() 215 counter_base = cb_base + private->hook_entry[hook]->counter_offset; in ebt_do_table() 433 newinfo->hook_entry[i] = NULL; in ebt_verify_pointers() 448 if ((char __user *)repl->hook_entry[i] == in ebt_verify_pointers() 463 newinfo->hook_entry[i] = (struct ebt_entries *)e; in ebt_verify_pointers() 484 if (!newinfo->hook_entry[i] && in ebt_verify_pointers() 505 if ((void *)e == (void *)newinfo->hook_entry[i]) in ebt_check_entry_size_and_hooks() 575 if (newinfo->hook_entry[i] == (struct ebt_entries *)e) in ebt_get_udc_positions() [all …]
|
D | ebtable_broute.c | 30 .hook_entry = {
|
D | ebtable_nat.c | 36 .hook_entry = {
|
D | ebtable_filter.c | 36 .hook_entry = {
|
/net/ipv4/netfilter/ |
D | arp_tables.c | 218 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table() 319 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains() 501 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks() 548 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table() 561 repl->hook_entry, in translate_table() 585 if (newinfo->hook_entry[i] == 0xFFFFFFFF) in translate_table() 762 if (info->hook_entry[i] && in compat_calc_entry() 763 (e < (struct arpt_entry *)(base + info->hook_entry[i]))) in compat_calc_entry() 764 newinfo->hook_entry[i] -= off; in compat_calc_entry() 830 memcpy(info.hook_entry, private->hook_entry, in get_info() [all …]
|
D | ip_tables.c | 209 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet() 214 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet() 293 e = get_entry(table_base, private->hook_entry[hook]); in ipt_do_table() 393 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains() 646 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks() 700 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table() 712 repl->hook_entry, in translate_table() 734 if (newinfo->hook_entry[i] == 0xFFFFFFFF) in translate_table() 931 if (info->hook_entry[i] && in compat_calc_entry() 932 (e < (struct ipt_entry *)(base + info->hook_entry[i]))) in compat_calc_entry() [all …]
|
/net/ipv6/netfilter/ |
D | ip6_tables.c | 243 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet() 248 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet() 324 e = get_entry(table_base, private->hook_entry[hook]); in ip6t_do_table() 421 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains() 675 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks() 728 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table() 740 repl->hook_entry, in translate_table() 762 if (newinfo->hook_entry[i] == 0xFFFFFFFF) in translate_table() 959 if (info->hook_entry[i] && in compat_calc_entry() 960 (e < (struct ip6t_entry *)(base + info->hook_entry[i]))) in compat_calc_entry() [all …]
|