Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/netfilter_bridge/ !
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))
/linux-6.6.21/net/bridge/netfilter/ !
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) |
Debtables.c474 for (i = 0; i < NF_BR_NUMHOOKS; i++) in ebt_verify_pointers()
487 for (i = 0; i < NF_BR_NUMHOOKS; i++) { in ebt_verify_pointers()
495 if (i != NF_BR_NUMHOOKS || !(e->bitmask & EBT_ENTRY_OR_ENTRIES)) { 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()
547 if (i != NF_BR_NUMHOOKS || !e->bitmask) { in ebt_check_entry_size_and_hooks()
557 if (i != NF_BR_NUMHOOKS || in ebt_check_entry_size_and_hooks()
561 if (i == NF_BR_NUMHOOKS) /* it's a user defined chain */ in ebt_check_entry_size_and_hooks()
602 for (i = 0; i < NF_BR_NUMHOOKS; i++) { in ebt_get_udc_positions()
[all …]
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) |
Debt_snat.c68 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_POST_ROUTING),
Debt_arpreply.c83 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING),
/linux-6.6.21/include/uapi/linux/ !
Dnetfilter_bridge.h31 #define NF_BR_NUMHOOKS 6 macro
/linux-6.6.21/include/uapi/linux/netfilter_bridge/ !
Debtables.h52 struct ebt_entries __user *hook_entry[NF_BR_NUMHOOKS];
68 struct ebt_entries *hook_entry[NF_BR_NUMHOOKS];