summaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-10-15 12:58:35 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-15 12:58:35 -0700
commitd603d0ab863245050025a79a1f14ff84f2222f09 (patch)
tree2cf5bf1bcfb9fce575062f015f9b8b3b8f85c05b /Documentation/networking
parent9d6dda32c7570bbf189cf74fbc36338d0a94e999 (diff)
downloadop-kernel-dev-d603d0ab863245050025a79a1f14ff84f2222f09.zip
op-kernel-dev-d603d0ab863245050025a79a1f14ff84f2222f09.tar.gz
[TCP]: Update the /proc/net/tcp documentation
* Say that this interface is deprecated. * Update function name references to match the current code. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/proc_net_tcp.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/networking/proc_net_tcp.txt b/Documentation/networking/proc_net_tcp.txt
index 5e21f7c..4a79209 100644
--- a/Documentation/networking/proc_net_tcp.txt
+++ b/Documentation/networking/proc_net_tcp.txt
@@ -1,8 +1,9 @@
This document describes the interfaces /proc/net/tcp and /proc/net/tcp6.
+Note that these interfaces are deprecated in favor of tcp_diag.
These /proc interfaces provide information about currently active TCP
-connections, and are implemented by tcp_get_info() in net/ipv4/tcp_ipv4.c and
-tcp6_get_info() in net/ipv6/tcp_ipv6.c, respectively.
+connections, and are implemented by tcp4_seq_show() in net/ipv4/tcp_ipv4.c
+and tcp6_seq_show() in net/ipv6/tcp_ipv6.c, respectively.
It will first list all listening TCP sockets, and next list all established
TCP connections. A typical entry of /proc/net/tcp would look like this (split
OpenPOWER on IntegriCloud