netfilter: nf_ct_udp: add namespace support
This patch adds namespace support for UDP 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>
This commit is contained in:
committed by
Pablo Neira Ayuso
parent
d2ba1fde42
commit
0ce490ad43
@@ -34,9 +34,21 @@ struct nf_tcp_net {
|
||||
unsigned int tcp_max_retrans;
|
||||
};
|
||||
|
||||
enum udp_conntrack {
|
||||
UDP_CT_UNREPLIED,
|
||||
UDP_CT_REPLIED,
|
||||
UDP_CT_MAX
|
||||
};
|
||||
|
||||
struct nf_udp_net {
|
||||
struct nf_proto_net pn;
|
||||
unsigned int timeouts[UDP_CT_MAX];
|
||||
};
|
||||
|
||||
struct nf_ip_net {
|
||||
struct nf_generic_net generic;
|
||||
struct nf_tcp_net tcp;
|
||||
struct nf_udp_net udp;
|
||||
#if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
|
||||
struct ctl_table_header *ctl_table_header;
|
||||
struct ctl_table *ctl_table;
|
||||
|
||||
Reference in New Issue
Block a user