]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/netfilter_ipv4/ip_nat.h
[PATCH] Rename PG_checked to PG_owner_priv_1
[linux-2.6-omap-h63xx.git] / include / linux / netfilter_ipv4 / ip_nat.h
index 98f8407e4cb5011f0d343f241cc4b4741e56962b..bbca89aab81304a499c3ab3077b572688e255706 100644 (file)
@@ -16,6 +16,7 @@ enum ip_nat_manip_type
 
 #define IP_NAT_RANGE_MAP_IPS 1
 #define IP_NAT_RANGE_PROTO_SPECIFIED 2
+#define IP_NAT_RANGE_PROTO_RANDOM 4 /* add randomness to "port" selection */
 
 /* NAT sequence number modifications */
 struct ip_nat_seq {
@@ -33,7 +34,7 @@ struct ip_nat_range
        unsigned int flags;
 
        /* Inclusive: network order. */
-       u_int32_t min_ip, max_ip;
+       __be32 min_ip, max_ip;
 
        /* Inclusive: network order */
        union ip_conntrack_manip_proto min, max;