[NETNS]: Place fib tables into netns.
[linux-2.6] / include / net / netns / ipv4.h
1 /*
2  * ipv4 in net namespaces
3  */
4
5 #ifndef __NETNS_IPV4_H__
6 #define __NETNS_IPV4_H__
7
8 struct ctl_table_header;
9 struct ipv4_devconf;
10 struct fib_rules_ops;
11 struct hlist_head;
12
13 struct netns_ipv4 {
14 #ifdef CONFIG_SYSCTL
15         struct ctl_table_header *forw_hdr;
16 #endif
17         struct ipv4_devconf     *devconf_all;
18         struct ipv4_devconf     *devconf_dflt;
19 #ifdef CONFIG_IP_MULTIPLE_TABLES
20         struct fib_rules_ops    *rules_ops;
21 #endif
22         struct hlist_head       *fib_table_hash;
23 };
24 #endif