diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-03-01 21:55:14 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-03-02 22:05:27 +0300 |
commit | 8a6bf5da1aefdafd60b73d9122c7af9fd2d7bb9c (patch) | |
tree | 8b27863200e3aed5a718dfb9194f6cedec8fe875 /include/net/netfilter | |
parent | af4610c39589d839551da104f7da342d86f23ea0 (diff) | |
download | linux-8a6bf5da1aefdafd60b73d9122c7af9fd2d7bb9c.tar.xz |
netfilter: nft_masq: support port range
Complete masquerading support by allowing port range selection.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter')
-rw-r--r-- | include/net/netfilter/nft_masq.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/netfilter/nft_masq.h b/include/net/netfilter/nft_masq.h index e2a518b60e19..a3f3c11b2526 100644 --- a/include/net/netfilter/nft_masq.h +++ b/include/net/netfilter/nft_masq.h @@ -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[]; |