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
7void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif);
8void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif);
9
10struct nft_offload_ctx;
11struct nft_flow_rule;
12
13int 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
17