1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NF_DUP_NETDEV_H_
3 #define _NF_DUP_NETDEV_H_
5 #include <net/netfilter/nf_tables.h>
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);
10 struct nft_offload_ctx;
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);