OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / include / linux / netfilter / nf_nat.h
blob8df2d13730b2b75fff7262c0cf144e3a13c5f84f
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 {
13 unsigned int flags;
14 __be32 min_ip;
15 __be32 max_ip;
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 */