• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/bsnmp/snmp_mibII/

Lines Matching refs:icmpstat

43 static struct icmpstat icmpstat;
72 len = sizeof(icmpstat);
73 if (sysctlbyname("net.inet.icmp.stats", &icmpstat, &len, NULL, 0) == -1) {
77 if (len != sizeof(icmpstat)) {
376 value->v.integer += icmpstat.icps_inhist[i];
377 value->v.integer += icmpstat.icps_tooshort +
378 icmpstat.icps_checksum;
383 value->v.integer = icmpstat.icps_tooshort +
384 icmpstat.icps_checksum +
385 icmpstat.icps_badlen +
386 icmpstat.icps_badcode +
387 icmpstat.icps_bmcastecho +
388 icmpstat.icps_bmcasttstamp;
392 value->v.integer = icmpstat.icps_inhist[ICMP_UNREACH];
396 value->v.integer = icmpstat.icps_inhist[ICMP_TIMXCEED];
400 value->v.integer = icmpstat.icps_inhist[ICMP_PARAMPROB];
404 value->v.integer = icmpstat.icps_inhist[ICMP_SOURCEQUENCH];
408 value->v.integer = icmpstat.icps_inhist[ICMP_REDIRECT];
412 value->v.integer = icmpstat.icps_inhist[ICMP_ECHO];
416 value->v.integer = icmpstat.icps_inhist[ICMP_ECHOREPLY];
420 value->v.integer = icmpstat.icps_inhist[ICMP_TSTAMP];
424 value->v.integer = icmpstat.icps_inhist[ICMP_TSTAMPREPLY];
428 value->v.integer = icmpstat.icps_inhist[ICMP_MASKREQ];
432 value->v.integer = icmpstat.icps_inhist[ICMP_MASKREPLY];
438 value->v.integer += icmpstat.icps_outhist[i];
439 value->v.integer += icmpstat.icps_badaddr +
440 icmpstat.icps_noroute;
444 value->v.integer = icmpstat.icps_badaddr +
445 icmpstat.icps_noroute;
449 value->v.integer = icmpstat.icps_outhist[ICMP_UNREACH];
453 value->v.integer = icmpstat.icps_outhist[ICMP_TIMXCEED];
457 value->v.integer = icmpstat.icps_outhist[ICMP_PARAMPROB];
461 value->v.integer = icmpstat.icps_outhist[ICMP_SOURCEQUENCH];
465 value->v.integer = icmpstat.icps_outhist[ICMP_REDIRECT];
469 value->v.integer = icmpstat.icps_outhist[ICMP_ECHO];
473 value->v.integer = icmpstat.icps_outhist[ICMP_ECHOREPLY];
477 value->v.integer = icmpstat.icps_outhist[ICMP_TSTAMP];
481 value->v.integer = icmpstat.icps_outhist[ICMP_TSTAMPREPLY];
485 value->v.integer = icmpstat.icps_outhist[ICMP_MASKREQ];
489 value->v.integer = icmpstat.icps_outhist[ICMP_MASKREPLY];