Home
last modified time | relevance | path

Searched refs:nft_hook (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/net/netfilter/
Dnft_reject_inet.c28 nft_hook(pkt)); in nft_reject_inet_eval()
32 pkt->skb, nft_hook(pkt)); in nft_reject_inet_eval()
37 nft_hook(pkt)); in nft_reject_inet_eval()
45 priv->icmp_code, nft_hook(pkt)); in nft_reject_inet_eval()
49 pkt->skb, nft_hook(pkt)); in nft_reject_inet_eval()
54 nft_hook(pkt)); in nft_reject_inet_eval()
Dnft_reject_netdev.c102 nft_hook(pkt), in nft_reject_netdev_eval()
108 nft_hook(pkt)); in nft_reject_netdev_eval()
113 nft_hook(pkt), in nft_reject_netdev_eval()
123 nft_hook(pkt), in nft_reject_netdev_eval()
129 nft_hook(pkt)); in nft_reject_netdev_eval()
134 nft_hook(pkt), in nft_reject_netdev_eval()
Dnf_dup_netdev.c53 nf_do_netdev_egress(pkt->skb, dev, nft_hook(pkt)); in nf_fwd_netdev_egress()
68 nf_do_netdev_egress(skb, dev, nft_hook(pkt)); in nf_dup_netdev_egress()
Dnft_redir.c119 regs->verdict.code = nf_nat_redirect_ipv4(pkt->skb, &mr, nft_hook(pkt)); in nft_redir_ipv4_eval()
169 nf_nat_redirect_ipv6(pkt->skb, &range, nft_hook(pkt)); in nft_redir_ipv6_eval()
Dnf_tables_offload.c223 struct nft_hook *hook; in nft_chain_offload_support()
458 struct nft_hook *hook; in nft_flow_block_chain()
624 struct nft_hook *hook, *found; in __nft_offload_get_chain()
Dnft_fwd_netdev.c34 skb_set_redirected(skb, nft_hook(pkt) == NF_NETDEV_INGRESS); in nft_fwd_netdev_eval()
Dnft_masq.c113 regs->verdict.code = nf_nat_masquerade_ipv4(pkt->skb, nft_hook(pkt), in nft_masq_ipv4_eval()
Dnf_tables_api.c201 struct nft_hook *hook; in nft_netdev_register_hooks()
228 struct nft_hook *hook, *next; in nft_netdev_unregister_hooks()
1577 struct nft_hook *hook, *first = NULL; in nft_dump_basechain_hook()
1872 struct nft_hook *hook, *next; in nf_tables_chain_destroy()
1905 static struct nft_hook *nft_netdev_hook_alloc(struct net *net, in nft_netdev_hook_alloc()
1910 struct nft_hook *hook; in nft_netdev_hook_alloc()
1913 hook = kmalloc(sizeof(struct nft_hook), GFP_KERNEL_ACCOUNT); in nft_netdev_hook_alloc()
1939 static struct nft_hook *nft_hook_list_find(struct list_head *hook_list, in nft_hook_list_find()
1940 const struct nft_hook *this) in nft_hook_list_find()
1942 struct nft_hook *hook; in nft_hook_list_find()
[all …]
Dnft_chain_filter.c325 struct nft_hook *hook, *found = NULL; in nft_netdev_event()
Dnft_log.c116 nf_log_packet(nft_net(pkt), nft_pf(pkt), nft_hook(pkt), pkt->skb, in nft_log_eval()
Dnft_synproxy.c121 if (nf_ip_checksum(skb, nft_hook(pkt), thoff, IPPROTO_TCP)) { in nft_synproxy_do_eval()
Dnft_flow_offload.c173 struct nft_hook *hook; in nft_flowtable_find_dev()
/linux-6.1.9/net/bridge/netfilter/
Dnft_reject_bridge.c127 nft_hook(pkt), in nft_reject_bridge_eval()
133 nft_hook(pkt)); in nft_reject_bridge_eval()
138 nft_hook(pkt), in nft_reject_bridge_eval()
148 nft_hook(pkt), in nft_reject_bridge_eval()
154 nft_hook(pkt)); in nft_reject_bridge_eval()
159 nft_hook(pkt), in nft_reject_bridge_eval()
/linux-6.1.9/net/ipv6/netfilter/
Dnft_reject_ipv6.c28 nft_hook(pkt)); in nft_reject_ipv6_eval()
32 nft_hook(pkt)); in nft_reject_ipv6_eval()
Dnft_fib_ipv6.c33 if (nft_hook(pkt) == NF_INET_FORWARD && in nft_fib6_flowi_init()
185 if (nft_hook(pkt) == NF_INET_PRE_ROUTING || in nft_fib6_eval()
186 nft_hook(pkt) == NF_INET_INGRESS) { in nft_fib6_eval()
Dnft_dup_ipv6.c28 nf_dup_ipv6(nft_net(pkt), pkt->skb, nft_hook(pkt), gw, oif); in nft_dup_ipv6_eval()
/linux-6.1.9/net/ipv4/netfilter/
Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
31 nft_hook(pkt)); in nft_reject_ipv4_eval()
Dnft_fib_ipv4.c90 if (nft_hook(pkt) == NF_INET_PRE_ROUTING && in nft_fib4_eval()
119 if (nft_hook(pkt) == NF_INET_FORWARD && in nft_fib4_eval()
Dnft_dup_ipv4.c30 nf_dup_ipv4(nft_net(pkt), pkt->skb, nft_hook(pkt), &gw, oif); in nft_dup_ipv4_eval()
/linux-6.1.9/include/net/netfilter/
Dnf_tables.h54 static inline unsigned int nft_hook(const struct nft_pktinfo *pkt) in nft_hook() function
1131 struct nft_hook { struct