2007-12-17 05:29:36 +08:00
|
|
|
/*
|
|
|
|
* ipv4 in net namespaces
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __NETNS_IPV4_H__
|
|
|
|
#define __NETNS_IPV4_H__
|
2008-01-10 19:27:51 +08:00
|
|
|
|
2007-12-17 05:31:47 +08:00
|
|
|
struct ctl_table_header;
|
|
|
|
struct ipv4_devconf;
|
2008-01-10 19:27:51 +08:00
|
|
|
struct fib_rules_ops;
|
2008-01-10 19:28:24 +08:00
|
|
|
struct hlist_head;
|
2007-12-17 05:31:47 +08:00
|
|
|
|
2007-12-17 05:29:36 +08:00
|
|
|
struct netns_ipv4 {
|
2008-01-06 15:08:49 +08:00
|
|
|
#ifdef CONFIG_SYSCTL
|
2007-12-17 05:31:47 +08:00
|
|
|
struct ctl_table_header *forw_hdr;
|
2008-01-06 15:08:49 +08:00
|
|
|
#endif
|
2007-12-17 05:31:47 +08:00
|
|
|
struct ipv4_devconf *devconf_all;
|
|
|
|
struct ipv4_devconf *devconf_dflt;
|
2008-01-10 19:27:51 +08:00
|
|
|
#ifdef CONFIG_IP_MULTIPLE_TABLES
|
|
|
|
struct fib_rules_ops *rules_ops;
|
|
|
|
#endif
|
2008-01-10 19:28:24 +08:00
|
|
|
struct hlist_head *fib_table_hash;
|
2007-12-17 05:29:36 +08:00
|
|
|
};
|
|
|
|
#endif
|