netdev
[Top] [All Lists]

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

To: acme@xxxxxxxxxxxxxxxx (Arnaldo Carvalho de Melo)
Subject: Re: [TCP] Show all SYN_RECV sockets in /proc/net/tcp
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 06 Oct 2004 12:35:58 +1000
Cc: herbert@xxxxxxxxxxxxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <416355BD.50402@conectiva.com.br>
Organization: Core
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: tin/1.7.4-20040225 ("Benbecula") (UNIX) (Linux/2.4.27-hx-1-686-smp (i686))
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.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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