HomeSort by: relevance | last modified time | path
    Searched defs:newstat (Results 1 - 5 of 5) sorted by relevancy

  /src/usr.bin/systat/
icmp.c 65 static uint64_t newstat[ICMP_NSTATS]; variable in typeref:typename:uint64_t[]
164 size_t i, size = sizeof(newstat);
166 if (sysctlbyname("net.inet.icmp.stats", newstat, &size, NULL, 0) == -1)
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)
    [all...]
ip.c 69 static struct mystat newstat; variable in typeref:struct:mystat
191 size = sizeof(newstat.i);
192 if (sysctlbyname("net.inet.ip.stats", newstat.i, &size, NULL, 0) == -1)
194 size = sizeof(newstat.u);
195 if (sysctlbyname("net.inet.udp.stats", newstat.u, &size, NULL, 0) == -1)
198 ADJINETCTR(curstat, oldstat, newstat, i[IP_STAT_TOTAL]);
199 ADJINETCTR(curstat, oldstat, newstat, i[IP_STAT_DELIVERED]);
200 ADJINETCTR(curstat, oldstat, newstat, i[IP_STAT_BADSUM]);
201 ADJINETCTR(curstat, oldstat, newstat, i[IP_STAT_TOOSHORT]);
202 ADJINETCTR(curstat, oldstat, newstat, i[IP_STAT_TOOSMALL])
    [all...]
ip6.c 61 static uint64_t newstat[IP6_NSTATS]; variable in typeref:typename:uint64_t[]
189 size_t i, size = sizeof(newstat);
191 if (sysctlbyname("net.inet6.ip6.stats", newstat, &size, NULL, 0) == -1)
195 xADJINETCTR(curstat, oldstat, newstat, i);
198 memcpy(oldstat, newstat, sizeof(oldstat));
214 memcpy(oldstat, newstat, sizeof(oldstat));
224 memcpy(oldstat, newstat, sizeof(oldstat));
234 memcpy(oldstat, newstat, sizeof(oldstat));
tcp.c 64 static uint64_t newstat[TCP_NSTATS]; variable in typeref:typename:uint64_t[]
218 size_t i, size = sizeof(newstat);
220 if (sysctlbyname("net.inet.tcp.stats", newstat, &size, NULL, 0) == -1)
224 xADJINETCTR(curstat, oldstat, newstat, i);
227 memcpy(oldstat, newstat, sizeof(oldstat));
243 memcpy(oldstat, newstat, sizeof(oldstat));
253 memcpy(oldstat, newstat, sizeof(oldstat));
263 memcpy(oldstat, newstat, sizeof(oldstat));
  /src/sys/dev/ic/
cissreg.h 418 u_int8_t newstat; /* same as ldstat->state */ member in struct:ciss_evldchg

Completed in 13 milliseconds