Module Name: src Committed By: thorpej Date: Wed Jan 29 03:04:55 UTC 2020
Modified Files: src/sys/net: net_stats.h Log Message: - 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. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/sys/net/net_stats.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.