Skip to contentSkip to conversation

Update the /proc/net/tcp documentation

PATCH Applied Jean Delvare 2 participants 2 messages Oct 15, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update the /proc/net/tcp documentation

* Say that this interface is deprecated.
* Update function name references to match the current code.

---
Second version, updated based on Rick Jones' comments.

 Documentation/networking/proc_net_tcp.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Documentation/networking/proc_net_tcp.txt +3 -2
@@ -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 
Signature · 1 line
Jean Delvare