xref: /linux/include/net/netfilter/nf_dup_netdev.h (revision 06ed6aa56ffac9241e03a24649e8d048f8f1b10c)
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
17