Searched refs:DIFF_STAT (Results 1 – 1 of 1) sorted by relevance
716 #define DIFF_STAT(s2, s3) ((s2) > (s3) ? ((s2) - (s3)) : 0) macro723 s1->rbytes = DIFF_STAT(s2->rbytes, s3->rbytes); in dladm_stats_diff()724 s1->ipackets = DIFF_STAT(s2->ipackets, s3->ipackets); in dladm_stats_diff()725 s1->ierrors = DIFF_STAT(s2->ierrors, s3->ierrors); in dladm_stats_diff()726 s1->obytes = DIFF_STAT(s2->obytes, s3->obytes); in dladm_stats_diff()727 s1->opackets = DIFF_STAT(s2->opackets, s3->opackets); in dladm_stats_diff()728 s1->oerrors = DIFF_STAT(s2->oerrors, s3->oerrors); in dladm_stats_diff()729 s1->snaptime = DIFF_STAT(s2->snaptime, s3->snaptime); in dladm_stats_diff()1099 *diff_val = DIFF_STAT(*op1_val, *op2_val); in i_dlstat_diff_stats()