Commit | Line | Data |
---|---|---|
9ba1f726 AB |
1 | #ifndef _NFT_MASQ_H_ |
2 | #define _NFT_MASQ_H_ | |
3 | ||
4 | struct nft_masq { | |
8a6bf5da PNA |
5 | u32 flags; |
6 | enum nft_registers sreg_proto_min:8; | |
7 | enum nft_registers sreg_proto_max:8; | |
9ba1f726 AB |
8 | }; |
9 | ||
10 | extern const struct nla_policy nft_masq_policy[]; | |
11 | ||
12 | int nft_masq_init(const struct nft_ctx *ctx, | |
13 | const struct nft_expr *expr, | |
14 | const struct nlattr * const tb[]); | |
15 | ||
16 | int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr); | |
17 | ||
7210e4e3 PNA |
18 | int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr, |
19 | const struct nft_data **data); | |
20 | ||
9ba1f726 | 21 | #endif /* _NFT_MASQ_H_ */ |