Searched refs:DIFF_STAT (Results 1 – 1 of 1) sorted by relevance
238 #define DIFF_STAT(s2, s3) ((s2) > (s3) ? ((s2) - (s3)) : 0) macro245 s1->rbytes = DIFF_STAT(s2->rbytes, s3->rbytes); in dladm_stats_diff()246 s1->ipackets = DIFF_STAT(s2->ipackets, s3->ipackets); in dladm_stats_diff()247 s1->ierrors = DIFF_STAT(s2->ierrors, s3->ierrors); in dladm_stats_diff()248 s1->obytes = DIFF_STAT(s2->obytes, s3->obytes); in dladm_stats_diff()249 s1->opackets = DIFF_STAT(s2->opackets, s3->opackets); in dladm_stats_diff()250 s1->oerrors = DIFF_STAT(s2->oerrors, s3->oerrors); in dladm_stats_diff()251 s1->snaptime = DIFF_STAT(s2->snaptime, s3->snaptime); in dladm_stats_diff()621 *diff_val = DIFF_STAT(*op1_val, *op2_val); in i_dlstat_diff_stats()