Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dcore.c287 if (WARN_ON_ONCE(hooknum != NF_INET_INGRESS)) in nf_hook_entry_head()
342 (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS)) in nf_ingress_hook()
359 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_inc()
374 if (pf == NFPROTO_INET && reg->hooknum == NF_INET_INGRESS) { in nf_static_key_dec()
407 if (reg->hooknum != NF_INET_INGRESS) in __nf_register_net_hook()
410 err = nf_ingress_check(net, reg, NF_INET_INGRESS); in __nf_register_net_hook()
520 if (reg->hooknum == NF_INET_INGRESS) { in nf_unregister_net_hook()
550 if (reg->hooknum == NF_INET_INGRESS) { in nf_register_net_hook()
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,
Dnft_reject_inet.c72 (1 << NF_INET_INGRESS)); in nft_reject_inet_validate()
Dnfnetlink_hook.c161 if (ops->pf == NFPROTO_INET && ops->hooknum == NF_INET_INGRESS) in nfnl_hook_dump_one()
/linux-6.1.9/include/uapi/linux/
Dnetfilter.h49 NF_INET_INGRESS = NF_INET_NUMHOOKS, enumerator
/linux-6.1.9/net/ipv4/netfilter/
Dnf_reject_ipv4.c252 if ((hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) && in nf_send_reset()
322 if ((hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) && in nf_send_unreach()
/linux-6.1.9/net/ipv6/netfilter/
Dnf_reject_ipv6.c308 if (hook == NF_INET_PRE_ROUTING || hook == NF_INET_INGRESS) { in nf_send_reset6()
406 if ((hooknum == NF_INET_PRE_ROUTING || hooknum == NF_INET_INGRESS) && in nf_send_unreach6()
Dnft_fib_ipv6.c186 nft_hook(pkt) == NF_INET_INGRESS) { in nft_fib6_eval()
/linux-6.1.9/include/net/netfilter/
Dnf_tables.h18 #define NFT_MAX_HOOKS (NF_INET_INGRESS + 1)
1217 (family == NFPROTO_INET && hooknum == NF_INET_INGRESS); in nft_base_chain_netdev()