Home
last modified time | relevance | path

Searched refs:NF_BR_NUMHOOKS (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/include/linux/netfilter_bridge/
H A Debtables.h84 struct ebt_entries *hook_entry[NF_BR_NUMHOOKS];
116 #define BASE_CHAIN (par->hook_mask & (1 << NF_BR_NUMHOOKS))
118 #define CLEAR_BASE_CHAIN_BIT (par->hook_mask &= ~(1 << NF_BR_NUMHOOKS))
/openbmc/linux/net/bridge/netfilter/
H A Debt_redirect.c45 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_redirect_tg_check()
60 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) |
H A Debt_dnat.c69 hook_mask = par->hook_mask & ~(1 << NF_BR_NUMHOOKS); in ebt_dnat_tg_check()
85 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) |
H A Debtables.c474 for (i = 0; i < NF_BR_NUMHOOKS; i++) in ebt_verify_pointers()
502 if (i != NF_BR_NUMHOOKS) in ebt_verify_pointers()
521 for (i = 0; i < NF_BR_NUMHOOKS; i++) { in ebt_verify_pointers()
540 for (i = 0; i < NF_BR_NUMHOOKS; i++) { in ebt_check_entry_size_and_hooks()
557 if (i != NF_BR_NUMHOOKS || in ebt_check_entry_size_and_hooks()
607 if (i != NF_BR_NUMHOOKS) in ebt_get_udc_positions()
719 if (i < NF_BR_NUMHOOKS) in ebt_check_entry()
877 if (i == NF_BR_NUMHOOKS) in translate_table()
955 for (i = 0; i < NF_BR_NUMHOOKS; i++) in translate_table()
1830 number += NF_BR_NUMHOOKS; in ebt_compat_init_offsets()
[all …]
H A Debt_snat.c68 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_POST_ROUTING),
H A Debt_arpreply.c83 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING),
/openbmc/linux/include/uapi/linux/
H A Dnetfilter_bridge.h31 #define NF_BR_NUMHOOKS 6 macro
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h52 struct ebt_entries __user *hook_entry[NF_BR_NUMHOOKS];
68 struct ebt_entries *hook_entry[NF_BR_NUMHOOKS];