Home | History | Annotate | only in /src/usr.sbin/altq/altqstat
History log of /src/usr.sbin/altq/altqstat
RevisionDateAuthorComments
 1.6 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.5 08-Feb-2020  fox usr.sbin/altq: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
 1.4 06-Feb-2010  he branches: 1.4.46;
When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
 1.3 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.2 16-Dec-2000  thorpej branches: 1.2.14;
Build glue for ALTQ programs.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.2.14.1 18-Mar-2006  peter Add qdisc_jobs.c.
 1.4.46.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.7 09-Apr-2019  sevan New sentence, new line
 1.6 19-Jan-2002  wiz branches: 1.6.100;
Sort SEE ALSO, fix an xref.
 1.5 22-Aug-2001  itojun sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
 1.4 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.3 05-Jun-2001  wiz Don't give .Os an argument, not even 'NetBSD' (default includes version).
 1.2 08-May-2001  wiz Add RCS Ids.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.6.100.1 10-Jun-2019  christos Sync with HEAD
 1.9 24-Jul-2021  andvar Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.
 1.8 29-Aug-2011  joerg Use __dead.
 1.7 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.6 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.5 05-Mar-2002  itojun branches: 1.5.14;
bring in latest ALTQ from kjc.
 1.4 22-Aug-2001  itojun sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.5.14.1 18-Mar-2006  peter Sync with KAME.
 1.5 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.4 22-Aug-2001  itojun branches: 1.4.14;
sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.4.14.1 18-Mar-2006  peter Sync with KAME.
 1.4 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.11 21-Jul-2021  ozaki-r altqstat, cbq: follow uint64_t changes

PR kern/56319
 1.10 21-Jul-2021  ozaki-r altqstat: follow changes of types of variables

PR kern/56319
 1.9 21-Jul-2021  ozaki-r altqstat: show raw values of avgidle, maxidle and minidle

The values are sometimes small and cooked values of them can be less
informative such as 0 or -1.
 1.8 21-Jul-2021  ozaki-r altqstat: adopt ps_per_byte

PR kern/56319
 1.7 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.6 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.5 05-Mar-2002  itojun branches: 1.5.14;
bring in latest ALTQ from kjc.
 1.4 16-Aug-2001  itojun $NetBSD$
 1.3 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.2 06-Apr-2001  thorpej From KAME:

kjc 2000/12/29 15:39:28 JST

Modified files:
kame/kame/altqstat qdisc_cbq.c
Log:
typo fix: "Mbps" should be just "bps".

Revision Changes Path
1.3 +3 -3 kame/kame/kame/altqstat/qdisc_cbq.c
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.5.14.1 18-Mar-2006  peter Sync with KAME.
 1.6 02-May-2008  xtraeme Constify and other misc fixes to make this build with WARNS=4.
 1.5 28-Oct-2006  peter branches: 1.5.16;
- Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.4 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.5.16.1 18-May-2008  yamt sync with head.
 1.6 04-Jan-2011  wiz Close fd in error case. Found by cppcheck.
 1.5 02-May-2008  xtraeme Constify and other misc fixes to make this build with WARNS=4.
 1.4 12-Oct-2006  peter branches: 1.4.16;
Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.4.16.1 18-May-2008  yamt sync with head.
 1.5 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.4 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.6 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.5 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.4 06-Jan-2003  christos branches: 1.4.12;
update for struct renaming; noticed by David Laight.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.4.12.1 18-Mar-2006  peter Sync with KAME.
 1.3 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.2 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.1 18-Mar-2006  peter branches: 1.1.2;
file qdisc_jobs.c was initially added on branch peter-altq.
 1.1.2.1 18-Mar-2006  peter Sync with KAME.
 1.6 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.5 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.4 06-Jan-2003  christos branches: 1.4.12;
update for struct renaming; noticed by David Laight.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.4.12.1 18-Mar-2006  peter Sync with KAME.
 1.5 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.4 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.6 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.5 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.4 10-May-2006  mrg quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.2 24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.5 28-Oct-2006  peter - Show statistics immediately, not after a 5 second delay.
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.

This fixes PR #32847

ok tron@
 1.4 12-Oct-2006  peter Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.3 16-Aug-2001  itojun branches: 1.3.14;
$NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.3.14.1 18-Mar-2006  peter Sync with KAME.
 1.16 04-Oct-2024  rillig altq: fix lint warnings about "effectively discards 'const'"

No binary change.
 1.15 07-May-2023  andvar branches: 1.15.2;
s/inferface/interface/
 1.14 07-Feb-2020  fox usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3).

Reviewed by: kamil@
 1.13 07-Feb-2020  fox usr.sbin/altq: Fix -Wstringop-truncation warning.

Looks like the original intention was to truncate the string at len.

Replace strncpy(3) with strlcpy(3).

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
 1.12 17-Feb-2016  christos PR/50824: David Binderman: Limit scanf width
 1.11 16-Jun-2015  christos improve error messages (remove \n, use __func__, etc)
 1.10 19-Oct-2013  christos fix unused variable warnings.
 1.9 12-Oct-2006  peter branches: 1.9.40; 1.9.46;
Merge the peter-altq branch.

(sync with KAME & add support for using ALTQ with pf(4)).
 1.8 20-May-2005  kleink branches: 1.8.2;
Include <sys/time.h> for struct timeval.
 1.7 17-May-2003  itojun sscanf overrun
 1.6 05-Mar-2002  itojun bring in latest ALTQ from kjc.
 1.5 27-Dec-2001  wiz client, not clinet.
 1.4 22-Aug-2001  itojun sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.
 1.8.2.1 18-Mar-2006  peter Sync with KAME.
 1.9.46.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.40.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.2.1 02-Aug-2025  perseant Sync with HEAD
 1.4 22-Aug-2001  itojun sync with latest kame tree. snprintf() return value audit, log() cleanup,
and such.
 1.3 16-Aug-2001  itojun $NetBSD$
 1.2 16-Aug-2001  itojun string length audit (use strlcpy). sync with latest kame ALTQ.
 1.1 16-Dec-2000  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1 16-Dec-2000  thorpej Import the altq status program.

RSS XML Feed