netdev
[Top] [All Lists]

Re: [TCP] Show all SYN_RECV sockets in /proc/net/tcp

To: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [TCP] Show all SYN_RECV sockets in /proc/net/tcp
From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
Date: Tue, 5 Oct 2004 20:58:44 -0700
Cc: acme@xxxxxxxxxxxxxxxx, herbert@xxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <E1CF1eo-0003qW-00@xxxxxxxxxxxxxxxxxxxxxxxx>
Organization: OSDL
References: <416355BD.50402@xxxxxxxxxxxxxxxx> <E1CF1eo-0003qW-00@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 06 Oct 2004 12:35:58 +1000 Herbert Xu wrote:

| Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> wrote:
| > 
| > Go ahead and do it with the current seq_file infrastructure 8) Standard
| 
| Does the current seq_file infrastructure offer anything new compared
| to what's in the existing /proc/net/tcp code?
| 
| > answer for these cases is remove /proc/net/tcp altogether and convert
| > the userland tools to use netlink instead.
| 
| Completely agreed.  As I said I only started looking at this because
| I was trying to fix tcp_diag.

Dave's other standard answer is "don't mess up the userland API",
including /proc interfaces.  (not to put words into Dave's mouth)

--
~Randy

<Prev in Thread] Current Thread [Next in Thread>