Searched refs:oldstats (Results 1 – 1 of 1) sorted by relevance
182 static void if_stat_total(struct ifstat *oldstats,2991 if_stat_total(struct ifstat *oldstats, struct ifstat *newstats, in if_stat_total() argument2994 sumstats->ipackets += newstats->ipackets - oldstats->ipackets; in if_stat_total()2995 sumstats->opackets += newstats->opackets - oldstats->opackets; in if_stat_total()2996 sumstats->ierrors += newstats->ierrors - oldstats->ierrors; in if_stat_total()2997 sumstats->oerrors += newstats->oerrors - oldstats->oerrors; in if_stat_total()2998 sumstats->collisions += newstats->collisions - oldstats->collisions; in if_stat_total()