Home
last modified time | relevance | path

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

/linux-4.1.27/net/bridge/netfilter/
Debtables.c215 chaininfo = private->hook_entry[hook]; in ebt_do_table()
216 nentries = private->hook_entry[hook]->nentries; in ebt_do_table()
217 point = (struct ebt_entry *)(private->hook_entry[hook]->data); in ebt_do_table()
218 counter_base = cb_base + private->hook_entry[hook]->counter_offset; in ebt_do_table()
429 newinfo->hook_entry[i] = NULL; in ebt_verify_pointers()
444 if ((char __user *)repl->hook_entry[i] == in ebt_verify_pointers()
458 newinfo->hook_entry[i] = (struct ebt_entries *)e; in ebt_verify_pointers()
479 if (!newinfo->hook_entry[i] && in ebt_verify_pointers()
501 if ((void *)e == (void *)newinfo->hook_entry[i]) in ebt_check_entry_size_and_hooks()
571 if (newinfo->hook_entry[i] == (struct ebt_entries *)e) in ebt_get_udc_positions()
[all …]
Debtable_broute.c30 .hook_entry = {
Debtable_filter.c36 .hook_entry = {
Debtable_nat.c36 .hook_entry = {
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c280 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table()
376 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
587 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
634 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
645 repl->hook_entry, in translate_table()
670 if (newinfo->hook_entry[i] == 0xFFFFFFFF) { in translate_table()
672 i, repl->hook_entry[i]); in translate_table()
852 if (info->hook_entry[i] && in compat_calc_entry()
853 (e < (struct arpt_entry *)(base + info->hook_entry[i]))) in compat_calc_entry()
854 newinfo->hook_entry[i] -= off; in compat_calc_entry()
[all …]
Dip_tables.c265 root = get_entry(table_base, private->hook_entry[hook]); in trace_packet()
270 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
339 e = get_entry(table_base, private->hook_entry[hook]); in ipt_do_table()
452 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
750 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
804 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
814 repl->hook_entry, in translate_table()
836 if (newinfo->hook_entry[i] == 0xFFFFFFFF) { in translate_table()
838 i, repl->hook_entry[i]); in translate_table()
1040 if (info->hook_entry[i] && in compat_calc_entry()
[all …]
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c294 root = get_entry(table_base, private->hook_entry[hook]); in trace_packet()
299 xt_entry_foreach(iter, root, private->size - private->hook_entry[hook]) in trace_packet()
365 e = get_entry(table_base, private->hook_entry[hook]); in ip6t_do_table()
465 unsigned int pos = newinfo->hook_entry[hook]; in mark_source_chains()
764 newinfo->hook_entry[h] = hook_entries[h]; in check_entry_size_and_hooks()
817 newinfo->hook_entry[i] = 0xFFFFFFFF; in translate_table()
827 repl->hook_entry, in translate_table()
849 if (newinfo->hook_entry[i] == 0xFFFFFFFF) { in translate_table()
851 i, repl->hook_entry[i]); in translate_table()
1053 if (info->hook_entry[i] && in compat_calc_entry()
[all …]
/linux-4.1.27/include/uapi/linux/netfilter_arp/
Darp_tables.h142 unsigned int hook_entry[NF_ARP_NUMHOOKS]; member
170 unsigned int hook_entry[NF_ARP_NUMHOOKS]; member
/linux-4.1.27/include/uapi/linux/netfilter_ipv4/
Dip_tables.h164 unsigned int hook_entry[NF_INET_NUMHOOKS]; member
192 unsigned int hook_entry[NF_INET_NUMHOOKS]; member
/linux-4.1.27/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h204 unsigned int hook_entry[NF_INET_NUMHOOKS]; member
232 unsigned int hook_entry[NF_INET_NUMHOOKS]; member
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debtables.h48 struct ebt_entries __user *hook_entry[NF_BR_NUMHOOKS]; member
64 struct ebt_entries *hook_entry[NF_BR_NUMHOOKS]; member
/linux-4.1.27/net/netfilter/
Dxt_repldata.h40 tbl->repl.hook_entry[hooknum] = bytes; \
/linux-4.1.27/include/linux/netfilter_bridge/
Debtables.h87 struct ebt_entries *hook_entry[NF_BR_NUMHOOKS]; member
/linux-4.1.27/include/linux/netfilter/
Dx_tables.h215 unsigned int hook_entry[NF_INET_NUMHOOKS]; member