Home
last modified time | relevance | path

Searched refs:NF_INET_INGRESS (Results 1 – 9 of 9) sorted by relevance

/linux/net/netfilter/
H A Dnft_chain_filter.c174 ingress_state.hook = NF_INET_INGRESS; in nft_do_chain_inet_ingress()
182 ingress_state.hook = NF_INET_INGRESS; in nft_do_chain_inet_ingress()
199 .hook_mask = (1 << NF_INET_INGRESS) |
206 [NF_INET_INGRESS] = nft_do_chain_inet_ingress,
385 basechain->ops.hooknum != NF_INET_INGRESS) in nf_tables_netdev_event()
H A Dcore.c299 if (WARN_ON_ONCE(hooknum != NF_INET_INGRESS)) in nf_hook_entry_head()
354 (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS)) in nf_ingress_hook()
371 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_inc()
386 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_dec()
419 if (reg->hooknum != NF_INET_INGRESS) in __nf_register_net_hook()
422 err = nf_ingress_check(net, reg, NF_INET_INGRESS); in __nf_register_net_hook()
532 if (reg->hooknum == NF_INET_INGRESS) { in nf_unregister_net_hook()
562 if (reg->hooknum == NF_INET_INGRESS) { in nf_register_net_hook()
H A Dnft_reject_inet.c71 (1 << NF_INET_INGRESS)); in nft_reject_inet_validate()
H A Dnfnetlink_hook.c203 if (ops->pf == NFPROTO_INET && ops->hooknum == NF_INET_INGRESS) in nfnl_hook_dump_one()
/linux/include/uapi/linux/
H A Dnetfilter.h49 NF_INET_INGRESS = NF_INET_NUMHOOKS, enumerator
/linux/net/ipv4/netfilter/
H A Dnf_reject_ipv4.c250 if ((hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) && in nf_send_reset()
324 if ((hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) && in nf_send_unreach()
/linux/net/ipv6/netfilter/
H A Dnf_reject_ipv6.c296 if (hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) { in nf_send_reset6()
400 if ((hooknum == NF_INET_PRE_ROUTING || hooknum == NF_INET_INGRESS) && in nf_send_unreach6()
H A Dnft_fib_ipv6.c187 nft_hook(pkt) == NF_INET_INGRESS) { in nft_fib6_eval()
/linux/include/net/netfilter/
H A Dnf_tables.h18 #define NFT_MAX_HOOKS (NF_INET_INGRESS + 1)
1312 (family == NFPROTO_INET && hooknum == NF_INET_INGRESS); in nft_base_chain_netdev()