Home
last modified time | relevance | path

Searched refs:NF_NETDEV_INGRESS (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/include/linux/
H A Dnetfilter_netdev.h12 if (!static_key_false(&nf_hooks_needed[NFPROTO_NETDEV][NF_NETDEV_INGRESS])) in nf_hook_ingress_active()
31 nf_hook_state_init(&state, NF_NETDEV_INGRESS, in nf_hook_ingress()
/openbmc/linux/net/netfilter/
H A Dcore.c321 if (hooknum == NF_NETDEV_INGRESS) { in nf_hook_entry_head()
353 if ((pf == NFPROTO_NETDEV && reg->hooknum == NF_NETDEV_INGRESS) || in nf_ingress_hook()
373 hooknum = NF_NETDEV_INGRESS; in nf_static_key_inc()
388 hooknum = NF_NETDEV_INGRESS; in nf_static_key_dec()
406 if (reg->hooknum == NF_NETDEV_INGRESS) in __nf_register_net_hook()
413 if ((reg->hooknum != NF_NETDEV_INGRESS && in __nf_register_net_hook()
H A Dnft_fwd_netdev.c34 skb_set_redirected(skb, nft_hook(pkt) == NF_NETDEV_INGRESS); in nft_fwd_netdev_eval()
210 return nft_chain_validate_hooks(ctx->chain, (1 << NF_NETDEV_INGRESS) | in nft_fwd_validate()
H A Dnf_dup_netdev.c26 if (hook == NF_NETDEV_INGRESS && skb_mac_header_was_set(skb)) { in nf_do_netdev_egress()
H A Dnft_chain_filter.c313 .hook_mask = (1 << NF_NETDEV_INGRESS) |
316 [NF_NETDEV_INGRESS] = nft_do_chain_netdev,
H A Dnfnetlink_hook.c204 hooknum = NF_NETDEV_INGRESS; in nfnl_hook_dump_one()
286 if (hook == NF_NETDEV_INGRESS) in nfnl_hook_entries_head()
H A Dnft_reject_netdev.c151 return nft_chain_validate_hooks(ctx->chain, (1 << NF_NETDEV_INGRESS)); in nft_reject_netdev_validate()
H A Dnft_meta.c564 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_get_validate_xfrm()
617 hooks = 1 << NF_NETDEV_INGRESS; in nft_meta_set_validate()
H A Dnf_tables_offload.c231 hook->ops.hooknum != NF_NETDEV_INGRESS) in nft_chain_offload_support()
H A Dnf_tables_api.c8244 if (hooknum != NF_NETDEV_INGRESS) in nft_flowtable_parse_hook()
/openbmc/linux/include/uapi/linux/
H A Dnetfilter.h53 NF_NETDEV_INGRESS, enumerator