Lines Matching defs:stats
81 COUNTER_ARRAY_ALLOC(cfg->base.stats.cnt, NAT64STATS, M_WAITOK);
93 COUNTER_ARRAY_FREE(cfg->base.stats.cnt, NAT64STATS);
397 (_stats)->_field = NAT64STAT_FETCH(&(_cfg)->base.stats, _field)
400 struct ipfw_nat64stl_stats *stats)
403 __COPY_STAT_FIELD(cfg, stats, opcnt64);
404 __COPY_STAT_FIELD(cfg, stats, opcnt46);
405 __COPY_STAT_FIELD(cfg, stats, ofrags);
406 __COPY_STAT_FIELD(cfg, stats, ifrags);
407 __COPY_STAT_FIELD(cfg, stats, oerrors);
408 __COPY_STAT_FIELD(cfg, stats, noroute4);
409 __COPY_STAT_FIELD(cfg, stats, noroute6);
410 __COPY_STAT_FIELD(cfg, stats, noproto);
411 __COPY_STAT_FIELD(cfg, stats, nomem);
412 __COPY_STAT_FIELD(cfg, stats, dropped);
427 struct ipfw_nat64stl_stats stats;
433 sz = sizeof(ipfw_obj_header) + sizeof(ipfw_obj_ctlv) + sizeof(stats);
441 memset(&stats, 0, sizeof(stats));
449 export_stats(ch, cfg, &stats);
456 ctlv->count = sizeof(stats) / sizeof(uint64_t);
459 memcpy(ctlv + 1, &stats, sizeof(stats));
490 COUNTER_ARRAY_ZERO(cfg->base.stats.cnt, NAT64STATS);