[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300612710.2831.106.camel@edumazet-laptop>
Date: Sun, 20 Mar 2011 10:18:30 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jerry Chu <hkchu@...gle.com>
Cc: Stephen Hemminger <shemminger@...tta.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] Add useful per-connection TCP stats for diagnosis
purpose.
Le dimanche 20 mars 2011 à 00:30 -0700, Jerry Chu a écrit :
> I presume the filtering of specific IP addrs/ports are done in the
> kernel to short-circuit the
> O(n) loop. Otherwise it seems moot (i.e., it still costs O(n)).
>
Filtering is done in kernel, and we can extend filtering capa if
necessary.
/proc/net/tcp is a flat file, you cannot do this
> A quick look at inet_csk_diag_dump() does not reveal anything like
> that. But I haven't
> looked hard enough.
You should ;)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists