Searched refs:DIFF_STAT (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlstat.c238 #define DIFF_STAT(s2, s3) ((s2) > (s3) ? ((s2) - (s3)) : 0) macro
245 s1->rbytes = DIFF_STAT(s2->rbytes, s3->rbytes);
246 s1->ipackets = DIFF_STAT(s2->ipackets, s3->ipackets);
247 s1->ierrors = DIFF_STAT(s2->ierrors, s3->ierrors);
248 s1->obytes = DIFF_STAT(s2->obytes, s3->obytes);
249 s1->opackets = DIFF_STAT(s2->opackets, s3->opackets);
250 s1->oerrors = DIFF_STAT(s2->oerrors, s3->oerrors);
251 s1->snaptime = DIFF_STAT(s2->snaptime, s3->snaptime);
621 *diff_val = DIFF_STAT(*op1_val, *op2_val);

Completed in 62 milliseconds