From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [PATCH] Update function names in /proc/net/tcp documentation Date: Sat, 13 Oct 2007 14:43:00 +0200 Message-ID: <20071013144300.08128901@hyperion.delvare> References: <20071012225426.2f866ae6@hyperion.delvare> <470FFF9C.7040402@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Rick Jones Return-path: Received: from smtp-106-saturday.noc.nerim.net ([62.4.17.106]:4995 "EHLO mallaury.nerim.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751627AbXJMMnD (ORCPT ); Sat, 13 Oct 2007 08:43:03 -0400 In-Reply-To: <470FFF9C.7040402@hp.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Hi Rick, On Fri, 12 Oct 2007 16:13:32 -0700, Rick Jones wrote: > Jean Delvare wrote: > > Update function name references to match the current code. > > > > Signed-off-by: Jean Delvare > > --- > > Documentation/networking/proc_net_tcp.txt | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > --- linux-2.6.23.orig/Documentation/networking/proc_net_tcp.txt 2007-02-04 19:44:54.000000000 +0100 > > +++ linux-2.6.23/Documentation/networking/proc_net_tcp.txt 2007-10-12 22:50:15.000000000 +0200 > > @@ -1,8 +1,8 @@ > > This document describes the interfaces /proc/net/tcp and /proc/net/tcp6. > > > > 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 > > /proc/net/[tcp|tcp6] are deprecated now right? Perhaps there should be > something to that effect added to the txt. I didn't know that, sorry. What is the new interface to access the TCP information? -- Jean Delvare