From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: Re: RFC: per-socket statistics on received/dropped packets Date: Sun, 09 Jun 2002 11:23:30 -0700 Sender: owner-netdev@oss.sgi.com Message-ID: <3D039D22.2010805@candelatech.com> References: <20020608170511.B26821@mark.mielke.cc> <20020608.160407.101346167.davem@redhat.com> <3D029DAF.5040006@candelatech.com> <20020608.175108.84748597.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: mark@mark.mielke.cc, cfriesen@nortelnetworks.com, linux-kernel@vger.kernel.org, netdev@oss.sgi.com Return-path: To: "David S. Miller" List-Id: netdev.vger.kernel.org David S. Miller wrote: > From: Ben Greear > Date: Sat, 08 Jun 2002 17:13:35 -0700 > > If you're talking per-socket SNMP counters, then that could work. > General protocol-wide counters would not help much, at least > in my case. > > Why not? If you know where the drops are occurring, what else > do you need to know? I need to account for packets on a per-session basis, where a session endpoint is a UDP port. So, knowing global protocol numbers is good, but it is not very useful for the detailed accounting I need. I could also use per-socket TCP counters, like re-transmits, etc. I have not looked to see if they are already there or not... Thanks, Ben -- Ben Greear President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear