[NETFILTER]: nf_conntrack: /proc compatibility with old connection tracking
authorPatrick McHardy <kaber@trash.net>
Wed, 29 Nov 2006 01:35:22 +0000 (02:35 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:20 +0000 (21:31 -0800)
commite4bd8bce3e8b53e2c0a0d5c9afbc29731e517f8d
tree8a7a2e8c5130e002a6324703c31e67770af05993
parenta999e6837603e4b5a164333c93918a1292f074c8
[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>
include/net/netfilter/ipv4/nf_conntrack_ipv4.h
net/ipv4/netfilter/Makefile
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c [new file with mode: 0644]
net/netfilter/nf_conntrack_l3proto_generic.c
net/netfilter/nf_conntrack_standalone.c