Home | History | Annotate | Download | only in net
History log of /src/sys/net/net_stats.h
RevisionDateAuthorComments
 1.6  29-Jun-2024  riastradh net_stats(9): Make this API slightly more type-safe.

TBD: Convert the macros to inline functions for better type-safety.

PR kern/58380
 1.5  29-Jan-2020  thorpej - Make _NET_STAT_GETREF()'s return value a net_stat_ref_t, which is
defined as a "void *" to prevent using a net_stat_ref_t as an array.
- For each _NET_STATADD(), etc. macro, also define a _NET_STATADD_REF()
macro that takes a ref returned by _NET_STAT_GETREF() as an argument.
This is intended to replace direct subscripting of the refernce;
consumers of this API will be updated in future commits.
 1.4  05-Sep-2014  matt branches: 1.4.20; 1.4.26;
Cast return value of _NET_STAT_GETREF
 1.3  04-May-2008  thorpej branches: 1.3.4; 1.3.6; 1.3.48;
Simplify the interface to netstat_sysctl() and allocate space for
the collated counters using kmem_alloc().

PR kern/38577
 1.2  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1  23-Apr-2008  thorpej branches: 1.1.2;
Add subroutines to support collating per-cpu-gathered network statistics.
 1.1.2.1  16-May-2008  yamt sync with head.
 1.3.48.1  03-Dec-2017  jdolecek update from HEAD
 1.3.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.3.6.1  04-May-2008  mjf file net_stats.h was added on branch mjf-devfs2 on 2008-06-02 13:24:23 +0000
 1.3.4.2  18-May-2008  yamt sync with head.
 1.3.4.1  04-May-2008  yamt file net_stats.h was added on branch yamt-pf42 on 2008-05-18 12:35:28 +0000
 1.4.26.1  29-Feb-2020  ad Sync with head.
 1.4.20.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed