mirror of
https://github.com/opnsense/src.git
synced 2026-06-03 13:58:30 -04:00
Reflect removing of the counter_u64_subtract() function in the macro.
This commit is contained in:
parent
8ed9860914
commit
e3389419ef
1 changed files with 2 additions and 2 deletions
|
|
@ -173,9 +173,9 @@ VNET_DECLARE(struct ipstat_p, ipstatp);
|
|||
* stats.
|
||||
*/
|
||||
#define IPSTAT_ADD(name, val) counter_u64_add(V_ipstatp.name, (val))
|
||||
#define IPSTAT_SUB(name, val) counter_u64_subtract(V_ipstatp.name, (val))
|
||||
#define IPSTAT_SUB(name, val) IPSTAT_ADD(name, -(val))
|
||||
#define IPSTAT_INC(name) IPSTAT_ADD(name, 1)
|
||||
#define IPSTAT_DEC(name) IPSTAT_ADD(name, -1)
|
||||
#define IPSTAT_DEC(name) IPSTAT_SUB(name, 1)
|
||||
|
||||
/*
|
||||
* Kernel module consumers must use this accessor macro.
|
||||
|
|
|
|||
Loading…
Reference in a new issue