Home
last modified time | relevance | path

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

/openbmc/linux/net/bridge/netfilter/
H A Debtable_nat.c16 #define NAT_VALID_HOOKS ((1 << NF_BR_PRE_ROUTING) | (1 << NF_BR_LOCAL_OUT) | \
39 [NF_BR_PRE_ROUTING] = &initial_chains[0],
69 .hooknum = NF_BR_PRE_ROUTING,
H A Debt_dnat.c41 case NF_BR_PRE_ROUTING: in ebt_dnat_tg()
71 (hook_mask & ~((1 << NF_BR_PRE_ROUTING) | in ebt_dnat_tg_check()
85 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) |
H A Debt_redirect.c47 hook_mask & ~(1 << NF_BR_PRE_ROUTING)) && in ebt_redirect_tg_check()
60 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING) |
H A Debt_arpreply.c83 .hooks = (1 << NF_BR_NUMHOOKS) | (1 << NF_BR_PRE_ROUTING),
H A Debtable_broute.c89 .hooknum = NF_BR_PRE_ROUTING,
H A Dnft_reject_bridge.c176 return nft_chain_validate_hooks(ctx->chain, (1 << NF_BR_PRE_ROUTING) | in nft_reject_bridge_validate()
H A Dnft_meta_bridge.c179 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_bridge_set_validate()
H A Dnf_conntrack_bridge.c415 .hooknum = NF_BR_PRE_ROUTING,
/openbmc/linux/include/uapi/linux/
H A Dnetfilter_bridge.h20 #define NF_BR_PRE_ROUTING 0 macro
/openbmc/linux/net/bridge/
H A Dbr_netfilter_ipv6.c134 br_nf_hook_thresh(NF_BR_PRE_ROUTING, in br_nf_pre_routing_finish_ipv6()
154 br_nf_hook_thresh(NF_BR_PRE_ROUTING, net, sk, skb, in br_nf_pre_routing_finish_ipv6()
H A Dbr_input.c264 if (!static_key_false(&nf_hooks_needed[NFPROTO_BRIDGE][NF_BR_PRE_ROUTING])) in nf_hook_bridge_pre()
268 e = rcu_dereference(net->nf.hooks_bridge[NF_BR_PRE_ROUTING]); in nf_hook_bridge_pre()
272 nf_hook_state_init(&state, NF_BR_PRE_ROUTING, in nf_hook_bridge_pre()
H A Dbr_netfilter_hooks.c423 br_nf_hook_thresh(NF_BR_PRE_ROUTING, in br_nf_pre_routing_finish()
445 br_nf_hook_thresh(NF_BR_PRE_ROUTING, net, sk, skb, skb->dev, NULL, in br_nf_pre_routing_finish()
1065 .hooknum = NF_BR_PRE_ROUTING,
/openbmc/linux/net/netfilter/
H A Dnft_chain_filter.c258 .hook_mask = (1 << NF_BR_PRE_ROUTING) |
264 [NF_BR_PRE_ROUTING] = nft_do_chain_bridge,
H A Dnft_meta.c614 hooks = 1 << NF_BR_PRE_ROUTING; in nft_meta_set_validate()