![Arturo Borrero](/assets/img/avatar_default.png)
The nft_masq expression is intended to perform NAT in the masquerade flavour. We decided to have the masquerade functionality in a separated expression other than nft_nat. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
17 lines
342 B
C
17 lines
342 B
C
#ifndef _NFT_MASQ_H_
|
|
#define _NFT_MASQ_H_
|
|
|
|
struct nft_masq {
|
|
u32 flags;
|
|
};
|
|
|
|
extern const struct nla_policy nft_masq_policy[];
|
|
|
|
int nft_masq_init(const struct nft_ctx *ctx,
|
|
const struct nft_expr *expr,
|
|
const struct nlattr * const tb[]);
|
|
|
|
int nft_masq_dump(struct sk_buff *skb, const struct nft_expr *expr);
|
|
|
|
#endif /* _NFT_MASQ_H_ */
|