1 #ifndef _NETFILTER_NF_NAT_H
2 #define _NETFILTER_NF_NAT_H
4 #include <linux/netfilter.h>
5 #include <linux/netfilter/nf_conntrack_tuple_common.h>
7 #define NF_NAT_RANGE_MAP_IPS 1
8 #define NF_NAT_RANGE_PROTO_SPECIFIED 2
9 #define NF_NAT_RANGE_PROTO_RANDOM 4
10 #define NF_NAT_RANGE_PERSISTENT 8
12 struct nf_nat_ipv4_range
{
16 union nf_conntrack_man_proto min
;
17 union nf_conntrack_man_proto max
;
20 struct nf_nat_ipv4_multi_range_compat
{
21 unsigned int rangesize
;
22 struct nf_nat_ipv4_range range
[1];
25 #endif /* _NETFILTER_NF_NAT_H */