GNU Linux-libre 5.19-rc6-gnu
[releases.git] / include / net / netfilter / nf_dup_netdev.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NF_DUP_NETDEV_H_
3 #define _NF_DUP_NETDEV_H_
4
5 #include <net/netfilter/nf_tables.h>
6
7 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif);
8 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif);
9
10 struct nft_offload_ctx;
11 struct nft_flow_rule;
12
13 int nft_fwd_dup_netdev_offload(struct nft_offload_ctx *ctx,
14                                struct nft_flow_rule *flow,
15                                enum flow_action_id id, int oif);
16 #endif