Lines Matching defs:cntr
2297 struct buf_pr *bp, struct ip_fw_rule *rule, struct ip_fw_bcounter *cntr)
2319 if (cntr != NULL) {
2322 pr_u64(bp, &cntr->pcnt, fo->pcwidth);
2323 pr_u64(bp, &cntr->bcnt, fo->bcwidth);
2328 bprintf(bp, "%10u ", cntr->timestamp);
2338 if (cntr->timestamp > 0) {
2339 t = _long_to_time(cntr->timestamp);
2748 struct ip_fw_bcounter *cntr;
2756 cntr = (struct ip_fw_bcounter *)(rtlv + 1);
2757 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size);
2763 width = pr_u64(NULL, &cntr->pcnt, 0);
2768 width = pr_u64(NULL, &cntr->bcnt, 0);
2787 struct ip_fw_bcounter *cntr;
2793 cntr = (struct ip_fw_bcounter *)(rtlv + 1);
2794 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size);
2796 cntr = NULL;
2804 show_static_rule(co, fo, bp, r, cntr);