Commit d603d0ab863245050025a79a1f14ff84f2222f09
Committed by
David S. Miller
1 parent
9d6dda32c7
Exists in
master
and in
4 other branches
[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>
Showing 1 changed file with 3 additions and 2 deletions Side-by-side Diff
Documentation/networking/proc_net_tcp.txt
1 | 1 | This document describes the interfaces /proc/net/tcp and /proc/net/tcp6. |
2 | +Note that these interfaces are deprecated in favor of tcp_diag. | |
2 | 3 | |
3 | 4 | These /proc interfaces provide information about currently active TCP |
4 | -connections, and are implemented by tcp_get_info() in net/ipv4/tcp_ipv4.c and | |
5 | -tcp6_get_info() in net/ipv6/tcp_ipv6.c, respectively. | |
5 | +connections, and are implemented by tcp4_seq_show() in net/ipv4/tcp_ipv4.c | |
6 | +and tcp6_seq_show() in net/ipv6/tcp_ipv6.c, respectively. | |
6 | 7 | |
7 | 8 | It will first list all listening TCP sockets, and next list all established |
8 | 9 | TCP connections. A typical entry of /proc/net/tcp would look like this (split |