]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/netns/ipv4.h
netfilter: netns nat: per-netns NAT table
[linux-2.6-omap-h63xx.git] / include / net / netns / ipv4.h
index 34ee348a2cf207e9b1522706fa2e7a3b216d1b55..b286b840493cc4dcefcb81473cf7a9fe54b0a66d 100644 (file)
@@ -18,6 +18,7 @@ struct netns_ipv4 {
        struct ctl_table_header *forw_hdr;
        struct ctl_table_header *frags_hdr;
        struct ctl_table_header *ipv4_hdr;
+       struct ctl_table_header *route_hdr;
 #endif
        struct ipv4_devconf     *devconf_all;
        struct ipv4_devconf     *devconf_dflt;
@@ -36,6 +37,8 @@ struct netns_ipv4 {
        struct xt_table         *iptable_mangle;
        struct xt_table         *iptable_raw;
        struct xt_table         *arptable_filter;
+       struct xt_table         *iptable_security;
+       struct xt_table         *nat_table;
 #endif
 
        int sysctl_icmp_echo_ignore_all;
@@ -44,5 +47,8 @@ struct netns_ipv4 {
        int sysctl_icmp_ratelimit;
        int sysctl_icmp_ratemask;
        int sysctl_icmp_errors_use_inbound_ifaddr;
+
+       struct timer_list rt_secret_timer;
+       atomic_t rt_genid;
 };
 #endif