diff options
author | Patrick McHardy <kaber@trash.net> | 2009-04-17 18:11:09 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-04-17 18:11:09 +0200 |
commit | 467fa9fe70f08342a50b859ddd431c848a956679 (patch) | |
tree | 10597bc5142a1ff09a2a584f8acf6de0b514cd90 /include/net | |
parent | b5508d20e6d1bea01d398b74103ee85630b05f58 (diff) |
SNAT/DNAT: add support for persistent multi-range NAT mappings
Add support for persistent mappings (2.6.29-rc2+) as replacement for the
removed SAME target.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_nat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_nat.h b/include/net/netfilter/nf_nat.h index 094473e4..c3e2060c 100644 --- a/include/net/netfilter/nf_nat.h +++ b/include/net/netfilter/nf_nat.h @@ -18,6 +18,7 @@ enum nf_nat_manip_type #define IP_NAT_RANGE_MAP_IPS 1 #define IP_NAT_RANGE_PROTO_SPECIFIED 2 #define IP_NAT_RANGE_PROTO_RANDOM 4 +#define IP_NAT_RANGE_PERSISTENT 8 /* NAT sequence number modifications */ struct nf_nat_seq { |