Lines Matching defs:stats
405 dpif_solaris_get_stats(const struct dpif *dpif_, struct dpif_dp_stats *stats)
419 bzero(stats, sizeof (struct dpif_dp_stats));
461 stats->n_hit += (get_nvvt_int(map, "ipkthit") +
463 stats->n_missed += (get_nvvt_int(map, "ipktmiss") +
481 stats->n_flows += get_nvvt_int(map, "nflows");
483 VLOG_DBG("dpif_solaris_get_stats %ld nflows", stats->n_flows);
486 stats->n_lost = 0;
487 stats->n_masks = UINT32_MAX;
488 stats->n_mask_hit = UINT64_MAX;
1364 dpif_solaris_get_flowstats(char *flowname, struct dpif_flow_stats *stats)
1369 bzero(stats, sizeof (*stats));
1372 stats->n_packets = npackets;
1373 stats->n_bytes = nbytes;
1374 stats->used = lastused / 1000000;
1385 struct dpif_flow_stats *stats)
1443 error = dpif_solaris_get_flowstats(flowname, stats);
1641 if (put->stats) {
1643 put->stats) == 0) {
1696 if (del->stats) {
1697 error = dpif_solaris_get_flowstats(flowname, del->stats);
1767 struct dpif_flow_stats stats;
1823 flow->stats.n_packets = npackets;
1824 flow->stats.n_bytes = nbytes;
1825 flow->stats.used = lastused / 1000000;
1864 const struct dpif_flow_stats **stats)
1932 if (actions || stats) {
1938 if (stats) {
1939 *stats = &flow->stats;