Home
last modified time | relevance | path

Searched refs:hook_entry (Results 1 – 10 of 10) sorted by relevance

/net/bridge/netfilter/
Debtables.c206 chaininfo = private->hook_entry[hook]; in ebt_do_table()
207 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
208 point = (struct ebt_entry *)(private->hook_entry[hook]->data); in ebt_do_table()
209 counter_base = cb_base + private->hook_entry[hook]->counter_offset; in ebt_do_table()
436 newinfo->hook_entry[i] = NULL; in ebt_verify_pointers()
451 if ((char __user *)repl->hook_entry[i] == in ebt_verify_pointers()
464 newinfo->hook_entry[i] = (struct ebt_entries *)e; in ebt_verify_pointers()
483 if (!newinfo->hook_entry[i] && in ebt_verify_pointers()
502 if ((void *)e == (void *)newinfo->hook_entry[i]) in ebt_check_entry_size_and_hooks()
564 if (newinfo->hook_entry[i] == (struct ebt_entries *)e) in ebt_get_udc_positions()
[all …]
Debtable_filter.c38 .hook_entry = {
Debtable_nat.c38 .hook_entry = {
Debtable_broute.c33 .hook_entry = {
/net/ipv4/netfilter/
Darp_tables.c214 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table()
311 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
484 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
534 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
547 repl->hook_entry, in translate_table()
754 if (info->hook_entry[i] && in compat_calc_entry()
755 (e < (struct arpt_entry *)(base + info->hook_entry[i]))) in compat_calc_entry()
756 newinfo->hook_entry[i] -= off; in compat_calc_entry()
823 memcpy(info.hook_entry, private->hook_entry, in get_info()
824 sizeof(info.hook_entry)); in get_info()
[all …]
Dip_tables.c201 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet()
206 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
276 e = get_entry(table_base, private->hook_entry[hook]); in ipt_do_table()
377 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
621 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
675 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
687 repl->hook_entry, in translate_table()
911 if (info->hook_entry[i] && in compat_calc_entry()
912 (e < (struct ipt_entry *)(base + info->hook_entry[i]))) in compat_calc_entry()
913 newinfo->hook_entry[i] -= off; in compat_calc_entry()
[all …]
/net/ipv6/netfilter/
Dip6_tables.c226 root = get_entry(private->entries, private->hook_entry[hook]); in trace_packet()
231 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
299 e = get_entry(table_base, private->hook_entry[hook]); in ip6t_do_table()
396 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
640 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
693 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
705 repl->hook_entry, in translate_table()
928 if (info->hook_entry[i] && in compat_calc_entry()
929 (e < (struct ip6t_entry *)(base + info->hook_entry[i]))) in compat_calc_entry()
930 newinfo->hook_entry[i] -= off; in compat_calc_entry()
[all …]
/net/netfilter/
Dnf_queue.c308 const struct nf_hook_entry *hook_entry; in nf_reinject() local
330 hook_entry = &hooks->hooks[i]; in nf_reinject()
334 verdict = nf_hook_entry_hookfn(hook_entry, skb, &entry->state); in nf_reinject()
Dxt_repldata.h41 tbl->repl.hook_entry[hooknum] = bytes; \
Dx_tables.c570 BUILD_BUG_ON(ARRAY_SIZE(info->hook_entry) != ARRAY_SIZE(info->underflow)); in xt_check_table_hooks()
575 for (i = 0; i < ARRAY_SIZE(info->hook_entry); i++) { in xt_check_table_hooks()
579 if (info->hook_entry[i] == 0xFFFFFFFF) in xt_check_table_hooks()
592 if (max_entry > info->hook_entry[i]) { in xt_check_table_hooks()
596 if (max_entry == info->hook_entry[i]) { in xt_check_table_hooks()
601 max_entry = info->hook_entry[i]; in xt_check_table_hooks()