aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-28 20:35:22 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:31:20 -0500
commite4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d (patch)
tree8a7a2e8c5130e002a6324703c31e67770af05993 /include/net
parenta999e6837603e4b5a164333c93918a1292f074c8 (diff)
[NETFILTER]: nf_conntrack: /proc compatibility with old connection tracking
This patch adds /proc/net/ip_conntrack, /proc/net/ip_conntrack_expect and /proc/net/stat/ip_conntrack files to keep old programs using them working. The /proc/net/ip_conntrack and /proc/net/ip_conntrack_expect files show only IPv4 entries, the /proc/net/stat/ip_conntrack shows global statistics. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/ipv4/nf_conntrack_ipv4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netfilter/ipv4/nf_conntrack_ipv4.h b/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
index 8c4f7e89ce55..34b453a81a63 100644
--- a/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
+++ b/include/net/netfilter/ipv4/nf_conntrack_ipv4.h
@@ -41,4 +41,7 @@ extern struct nf_conntrack_l4proto nf_conntrack_l4proto_tcp4;
41extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp4; 41extern struct nf_conntrack_l4proto nf_conntrack_l4proto_udp4;
42extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp; 42extern struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp;
43 43
44extern int nf_conntrack_ipv4_compat_init(void);
45extern void nf_conntrack_ipv4_compat_fini(void);
46
44#endif /*_NF_CONNTRACK_IPV4_H*/ 47#endif /*_NF_CONNTRACK_IPV4_H*/