mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
netfilter: nft_masq: support port range
Complete masquerading support by allowing port range selection. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
af4610c395
commit
8a6bf5da1a
5 changed files with 59 additions and 14 deletions
|
|
@ -2,7 +2,9 @@
|
|||
#define _NFT_MASQ_H_
|
||||
|
||||
struct nft_masq {
|
||||
u32 flags;
|
||||
u32 flags;
|
||||
enum nft_registers sreg_proto_min:8;
|
||||
enum nft_registers sreg_proto_max:8;
|
||||
};
|
||||
|
||||
extern const struct nla_policy nft_masq_policy[];
|
||||
|
|
|
|||
Loading…
Reference in a new issue