PATCH: Accounting Gigawords

Jouni Malinen jkmaline
Sat Jul 17 21:17:35 PDT 2004

On Mon, Jul 12, 2004 at 11:13:35AM +0200, Gunter Burchardt wrote:

> I wrote a patch for accounting. At the moment only traffic up to 4 GB
> for each direction can be accounted. After 4 GB the counters roll over!
> This patch defines the rx/tx_bytes per sta as unsigned long long. If a
> counter roll over Acct-Input-Gigawords and/of Acct-Output-Gigawords will
> be set in the accounting packet (RFC 2869).

Thanks, applied. I cleaned up the updated versions of the patch a bit
and added support for 64-bit hosts (though, I did not test this) and
updates when interim accounting is disabled.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list