]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - include/net/netfilter/nft_masq.h
Merge remote-tracking branch 'asoc/topic/rockchip' into asoc-next
[mirror_ubuntu-focal-kernel.git] / include / net / netfilter / nft_masq.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NFT_MASQ_H_
3 #define _NFT_MASQ_H_
4
5 struct nft_masq {
6 u32 flags;
7 enum nft_registers sreg_proto_min:8;
8 enum nft_registers sreg_proto_max:8;
9 };
10
11 extern const struct nla_policy nft_masq_policy[];
12
13 int nft_masq_init(const struct nft_ctx *ctx,
14 const struct nft_expr *expr,
15 const struct nlattr * const tb[]);
16
17 int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr);
18
19 int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
20 const struct nft_data **data);
21
22 #endif /* _NFT_MASQ_H_ */