-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 279068 b: refs/heads/master c: cbc9f2f h: refs/heads/master v: v3
- Loading branch information
Patrick McHardy
authored and
Pablo Neira Ayuso
committed
Dec 23, 2011
1 parent
a1a3a5c
commit 82a63e8
Showing
30 changed files
with
186 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 3d058d7bc2c5671ae630e0b463be8a69b5783fb9 | ||
refs/heads/master: cbc9f2f4fcd70d5a627558ca9a881fa9391abf69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifndef _NETFILTER_NF_NAT_H | ||
#define _NETFILTER_NF_NAT_H | ||
|
||
#include <linux/netfilter.h> | ||
#include <linux/netfilter/nf_conntrack_tuple_common.h> | ||
|
||
#define NF_NAT_RANGE_MAP_IPS 1 | ||
#define NF_NAT_RANGE_PROTO_SPECIFIED 2 | ||
#define NF_NAT_RANGE_PROTO_RANDOM 4 | ||
#define NF_NAT_RANGE_PERSISTENT 8 | ||
|
||
struct nf_nat_ipv4_range { | ||
unsigned int flags; | ||
__be32 min_ip; | ||
__be32 max_ip; | ||
union nf_conntrack_man_proto min; | ||
union nf_conntrack_man_proto max; | ||
}; | ||
|
||
struct nf_nat_ipv4_multi_range_compat { | ||
unsigned int rangesize; | ||
struct nf_nat_ipv4_range range[1]; | ||
}; | ||
|
||
#endif /* _NETFILTER_NF_NAT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,3 @@ header-y += ipt_ah.h | |
header-y += ipt_ecn.h | ||
header-y += ipt_realm.h | ||
header-y += ipt_ttl.h | ||
header-y += nf_nat.h |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.