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

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c181 static void if_stat_total(struct ifstat *oldstats,
2592 if_stat_total(struct ifstat *oldstats, struct ifstat *newstats, argument
2595 sumstats->ipackets += newstats->ipackets - oldstats->ipackets;
2596 sumstats->opackets += newstats->opackets - oldstats->opackets;
2597 sumstats->ierrors += newstats->ierrors - oldstats->ierrors;
2598 sumstats->oerrors += newstats->oerrors - oldstats->oerrors;
2599 sumstats->collisions += newstats->collisions - oldstats->collisions;

Completed in 55 milliseconds