Subject: Re: PPPoE stats
To: None <current-users@netbsd.org>
From: Jean-Edouard BABIN <listes@jeb.com.fr>
List: current-users
Date: 04/08/2003 15:24:22
on 08/04/03 15:08, =AB=A0Quentin Garnier=A0=BB <netbsd-current-users@quatriemek.com=
>
wrote:

> Le Tue, 08 Apr 2003 14:31:04 +0200
> Jean-Edouard BABIN a ecrit :
> [...]
>> I am wondering if there is a easyer way
>> I think it's possible to code it in the pppoe support of the kernel but
>> where ?
>=20
> ifwatchd(8), I'd say.

Ifwatchd only run ip-up/ip-down the way i don't like a lot
i was talking of add something like the current time and current bandwidth
stats in struct pppoe_softc when pppoe_connect() is run, and do a
subtraction in pppoe_disconnect() then send the result to syslog

--=20
Jean-Edouard BABIN
Mail: Jeb@jeb.com.fr
Web : www.Jeb.com.fr
IRC : Jeb @ Undernet