Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 09:46:30 +0200
From:      Bernhard Schmidt <bschmidt@freebsd.org>
To:        freebsd-arch@freebsd.org
Cc:        Adrian Chadd <adrian@freebsd.org>
Subject:   Re: [RFC] break out 'statfoo' from wlanstats/athstats into a shared library
Message-ID:  <201204060946.30180.bschmidt@freebsd.org>
In-Reply-To: <CAJ-VmokFzNJQKSZcr1SOnG%2B7PUj-3K03uietb6o9U55u4HYkYg@mail.gmail.com>
References:  <CAJ-VmokFzNJQKSZcr1SOnG%2B7PUj-3K03uietb6o9U55u4HYkYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 April 2012 02:17:16 Adrian Chadd wrote:
> Hi,
> 
> There's a statistics library which Sam used for a variety of networking tasks:
> 
> * wlanstats
> * mwlstats
> * athstats
> * (npestats? What's npe?)

Ethernet driver, check the xscale port.

> I've fixed some issues in athstats' copy of libstatfoo which I can
> port elsewhere. But I can also see scenarios where I'd like to use
> this library code in future statistics utilities that I'll write.
> 
> What I'd like to do is:
> 
> * break out the statfoo from these and create a libstatfoo, that's
> built as part of the base system;
> * teach wlanstats, mwlstats, athstats to use the system provided copy
> of libstatfoo;
> * migrate wlanstats out from tools into the base system.
> 
> Does anyone have any particular reason not to do this?

What I'd always wanted to see is wlanstats' -i being extended to
recognize not just wlanN, as in

wlanstats -i wlan0 (teh default)
wlanstats -i wlan1
wlanstats -i ath0
wlanstats -i mwl0

-- 
Bernhard



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204060946.30180.bschmidt>