2007-12-16 22:29:36 +01:00
|
|
|
/*
|
|
|
|
* ipv4 in net namespaces
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __NETNS_IPV4_H__
|
|
|
|
#define __NETNS_IPV4_H__
|
2008-01-10 12:27:51 +01:00
|
|
|
|
2008-01-22 15:02:14 +01:00
|
|
|
#include <net/inet_frag.h>
|
|
|
|
|
2007-12-16 22:31:47 +01:00
|
|
|
struct ctl_table_header;
|
|
|
|
struct ipv4_devconf;
|
2008-01-10 12:27:51 +01:00
|
|
|
struct fib_rules_ops;
|
2008-01-10 12:28:24 +01:00
|
|
|
struct hlist_head;
|
2008-01-10 12:28:55 +01:00
|
|
|
struct sock;
|
2007-12-16 22:31:47 +01:00
|
|
|
|
2007-12-16 22:29:36 +01:00
|
|
|
struct netns_ipv4 {
|
2008-01-06 08:08:49 +01:00
|
|
|
#ifdef CONFIG_SYSCTL
|
2007-12-16 22:31:47 +01:00
|
|
|
struct ctl_table_header *forw_hdr;
|
2008-01-22 15:08:36 +01:00
|
|
|
struct ctl_table_header *frags_hdr;
|
2008-03-26 09:56:24 +01:00
|
|
|
struct ctl_table_header *ipv4_hdr;
|
2008-01-06 08:08:49 +01:00
|
|
|
#endif
|
2007-12-16 22:31:47 +01:00
|
|
|
struct ipv4_devconf *devconf_all;
|
|
|
|
struct ipv4_devconf *devconf_dflt;
|
2008-01-10 12:27:51 +01:00
|
|
|
#ifdef CONFIG_IP_MULTIPLE_TABLES
|
|
|
|
struct fib_rules_ops *rules_ops;
|
|
|
|
#endif
|
2008-01-10 12:28:24 +01:00
|
|
|
struct hlist_head *fib_table_hash;
|
2008-01-10 12:28:55 +01:00
|
|
|
struct sock *fibnl;
|
2008-01-22 15:02:14 +01:00
|
|
|
|
2008-02-29 20:19:58 +01:00
|
|
|
struct sock **icmp_sk;
|
2008-04-03 23:31:33 +02:00
|
|
|
struct sock *tcp_sock;
|
2008-02-29 20:19:58 +01:00
|
|
|
|
2008-01-22 15:02:14 +01:00
|
|
|
struct netns_frags frags;
|
2008-01-31 13:03:23 +01:00
|
|
|
#ifdef CONFIG_NETFILTER
|
|
|
|
struct xt_table *iptable_filter;
|
|
|
|
struct xt_table *iptable_mangle;
|
|
|
|
struct xt_table *iptable_raw;
|
2008-01-31 13:05:09 +01:00
|
|
|
struct xt_table *arptable_filter;
|
2008-01-31 13:03:23 +01:00
|
|
|
#endif
|
2008-03-26 09:55:37 +01:00
|
|
|
|
|
|
|
int sysctl_icmp_echo_ignore_all;
|
|
|
|
int sysctl_icmp_echo_ignore_broadcasts;
|
|
|
|
int sysctl_icmp_ignore_bogus_error_responses;
|
|
|
|
int sysctl_icmp_ratelimit;
|
|
|
|
int sysctl_icmp_ratemask;
|
|
|
|
int sysctl_icmp_errors_use_inbound_ifaddr;
|
2007-12-16 22:29:36 +01:00
|
|
|
};
|
|
|
|
#endif
|