Lines Matching defs:oldstat
66 static uint64_t oldstat[ICMP_NSTATS];
169 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_BADCODE);
170 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_BADLEN);
171 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_CHECKSUM);
172 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_TOOSHORT);
173 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_ERROR);
174 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_OLDSHORT);
175 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_OLDICMP);
176 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_REFLECT);
179 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_INHIST + i);
180 xADJINETCTR(curstat, oldstat, newstat, ICMP_STAT_OUTHIST + i);
184 memcpy(oldstat, newstat, sizeof(oldstat));
191 memset(oldstat, 0, sizeof(oldstat));
200 memcpy(oldstat, newstat, sizeof(oldstat));
210 memcpy(oldstat, newstat, sizeof(oldstat));
220 memcpy(oldstat, newstat, sizeof(oldstat));