From owner-freebsd-isdn Thu Mar 4 12:33:46 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (Postfix) with ESMTP id 850201506C for ; Thu, 4 Mar 1999 12:32:45 -0800 (PST) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.3/8.6.9) with ESMTP id VAA00678 for ; Thu, 4 Mar 1999 21:06:17 +0100 (CET) Message-Id: <199903042006.VAA00678@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-isdn@freebsd.org Subject: Re: Double accounting in ISP0 devices - a prototype fix Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 03 Mar 1999 23:01:13 GMT." <000101be65c9$bc9d7460$060110ac@barrynt.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 04 Mar 1999 21:06:17 +0100 From: Gary Jennejohn Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Barry Scott" writes: > Here are all the places in the i4b code that operate on the > TX and RX bytes values that netstat reports. [snip] > You will notice that both if_spppsubr.c and i4b_isppp.c want to add to >the > if_ibytes and if_obytes fields, same goes for if_ipackets and if_opacke >ts. > > I removed the lines from i4b_isppp.c and have counters that make sense. > > As I have no idea which modules is responisble for incrementing these > fields. At would be nice for someone that does know which lines to zap > to generate a patch. > IMO it should be done in i4b_isppp.c since if_spppsubr.c is meant to be a generic synch. PPP module and is meant to interface to other drivers as well. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message