diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-05-28 17:04:14 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-07 08:58:40 -0400 |
commit | 4b626b9c5d35b4f99b073dc5d6457abddcbcf429 (patch) | |
tree | 774457d18f064a5a1ca8ee54724ab5ff3b5e0487 /include/net/netns | |
parent | 0ce490ad4387a67ee8ca5253476272d508fc0b6f (diff) |
netfilter: nf_ct_icmp: add namespace support
This patch adds namespace support for ICMP protocol tracker.
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/conntrack.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h index 7bd14ab8ce1c..3d8e9e3b08a6 100644 --- a/include/net/netns/conntrack.h +++ b/include/net/netns/conntrack.h | |||
@@ -45,10 +45,16 @@ struct nf_udp_net { | |||
45 | unsigned int timeouts[UDP_CT_MAX]; | 45 | unsigned int timeouts[UDP_CT_MAX]; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | struct nf_icmp_net { | ||
49 | struct nf_proto_net pn; | ||
50 | unsigned int timeout; | ||
51 | }; | ||
52 | |||
48 | struct nf_ip_net { | 53 | struct nf_ip_net { |
49 | struct nf_generic_net generic; | 54 | struct nf_generic_net generic; |
50 | struct nf_tcp_net tcp; | 55 | struct nf_tcp_net tcp; |
51 | struct nf_udp_net udp; | 56 | struct nf_udp_net udp; |
57 | struct nf_icmp_net icmp; | ||
52 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT) | 58 | #if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT) |
53 | struct ctl_table_header *ctl_table_header; | 59 | struct ctl_table_header *ctl_table_header; |
54 | struct ctl_table *ctl_table; | 60 | struct ctl_table *ctl_table; |