X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=Documentation%2Fnetworking%2Fproc_net_tcp.txt;h=4a79209e77a7c42ed172d0e7a3478ef17c5174bd;hb=064ea1ae80749f5548a5613e8c7772fbef34c857;hp=5e21f7cb638332f3eac08536c580dbc26b94298f;hpb=cece901481bafbf14de8cbd3a89ae869ea881055;p=karo-tx-linux.git diff --git a/Documentation/networking/proc_net_tcp.txt b/Documentation/networking/proc_net_tcp.txt index 5e21f7cb6383..4a79209e77a7 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