diff options
author | brian <brian@FreeBSD.org> | 2000-08-28 22:44:54 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-08-28 22:44:54 +0000 |
commit | cb1cdc90fa757e0475f2fa90070cd79541400475 (patch) | |
tree | 1920267811fb05c150fd456a8121562e12dc48c9 /usr.sbin/ppp/throughput.h | |
parent | f47bf1f4e6a3f541e2923ccc99ff4e21f9b60094 (diff) | |
download | FreeBSD-src-cb1cdc90fa757e0475f2fa90070cd79541400475.zip FreeBSD-src-cb1cdc90fa757e0475f2fa90070cd79541400475.tar.gz |
Support radius accounting, and add a packet count to throughput
statistics as a side effect.
Submitted by: Marcin Cieslak <saper@system.pl>
with some tweaks to RAD_ACCT_SESSION_ID and
RAD_ACCT_MULTI_SESSION_ID generation by me.
Diffstat (limited to 'usr.sbin/ppp/throughput.h')
-rw-r--r-- | usr.sbin/ppp/throughput.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ppp/throughput.h b/usr.sbin/ppp/throughput.h index 9dd1648..21e5450 100644 --- a/usr.sbin/ppp/throughput.h +++ b/usr.sbin/ppp/throughput.h @@ -37,6 +37,8 @@ struct pppThroughput { time_t uptime, downtime; unsigned long long OctetsIn; unsigned long long OctetsOut; + unsigned long long PacketsIn; + unsigned long long PacketsOut; int SamplePeriod; struct { unsigned long long *SampleOctets; |