Home
last modified time | relevance | path

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

/linux-6.12.1/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.c120 nft_hook(pkt)); in nft_redir_eval()
125 nft_hook(pkt)); in nft_redir_eval()
Dnf_tables_offload.c224 struct nft_hook *hook; in nft_chain_offload_support()
459 struct nft_hook *hook; in nft_flow_block_chain()
625 struct nft_hook *hook, *found; in __nft_offload_get_chain()
Dnft_masq.c115 nft_hook(pkt), in nft_masq_eval()
Dnft_fwd_netdev.c34 skb_set_redirected(skb, nft_hook(pkt) == NF_NETDEV_INGRESS); in nft_fwd_netdev_eval()
Dnft_chain_filter.c325 struct nft_hook *hook, *found = NULL; in nft_netdev_event()
Dnf_tables_api.c302 struct nft_hook *hook; in nft_netdev_register_hooks()
329 struct nft_hook *hook, *next; in nft_netdev_unregister_hooks()
1833 struct nft_hook *hook, *first = NULL; in nft_dump_basechain_hook()
2140 struct nft_hook *hook, *next; in nf_tables_chain_destroy()
2173 static struct nft_hook *nft_netdev_hook_alloc(struct net *net, in nft_netdev_hook_alloc()
2178 struct nft_hook *hook; in nft_netdev_hook_alloc()
2181 hook = kzalloc(sizeof(struct nft_hook), GFP_KERNEL_ACCOUNT); in nft_netdev_hook_alloc()
2207 static struct nft_hook *nft_hook_list_find(struct list_head *hook_list, in nft_hook_list_find()
2208 const struct nft_hook *this) in nft_hook_list_find()
2210 struct nft_hook *hook; in nft_hook_list_find()
[all …]
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.c174 struct nft_hook *hook; in nft_flowtable_find_dev()
/linux-6.12.1/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.12.1/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.c87 if (nft_hook(pkt) == NF_INET_PRE_ROUTING && in nft_fib4_eval()
116 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.12.1/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()
186 if (nft_hook(pkt) == NF_INET_PRE_ROUTING || in nft_fib6_eval()
187 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.12.1/include/net/netfilter/
Dnf_tables.h55 static inline unsigned int nft_hook(const struct nft_pktinfo *pkt) in nft_hook() function
1193 struct nft_hook { struct