Lines Matching refs:icmpstat
60 static struct icmpstat icmpstat, initstat, oldstat;
133 domode(struct icmpstat *ret)
135 const struct icmpstat *sub;
150 *ret = icmpstat;
153 #define DO(stat) ret->stat = (icmpstat.stat - sub->stat) / divisor
176 struct icmpstat stats;
231 error("sysctl getting icmpstat size failed");
234 if (len > sizeof icmpstat) {
235 error("icmpstat structure has grown--recompile systat!");
239 error("sysctl getting icmpstat size failed");
259 error("sysctl getting icmpstat size failed");
270 oldstat = icmpstat;
275 len = sizeof icmpstat;
277 if (sysctl(name, 4, &icmpstat, &len, 0, 0) < 0)