Lines Matching refs:cntr
2164 struct buf_pr *bp, struct ip_fw_rule *rule, struct ip_fw_bcounter *cntr) in show_static_rule() argument
2187 pr_u64(bp, &cntr->pcnt, fo->pcwidth); in show_static_rule()
2188 pr_u64(bp, &cntr->bcnt, fo->bcwidth); in show_static_rule()
2193 bprintf(bp, "%10u ", cntr->timestamp); in show_static_rule()
2203 if (cntr->timestamp > 0) { in show_static_rule()
2204 t = _long_to_time(cntr->timestamp); in show_static_rule()
2612 struct ip_fw_bcounter *cntr; in prepare_format_opts() local
2620 cntr = (struct ip_fw_bcounter *)(rtlv + 1); in prepare_format_opts()
2621 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size); in prepare_format_opts()
2627 width = pr_u64(NULL, &cntr->pcnt, 0); in prepare_format_opts()
2632 width = pr_u64(NULL, &cntr->bcnt, 0); in prepare_format_opts()
2651 struct ip_fw_bcounter *cntr; in list_static_range() local
2658 cntr = (struct ip_fw_bcounter *)(rtlv + 1); in list_static_range()
2659 r = (struct ip_fw_rule *)((caddr_t)cntr + cntr->size); in list_static_range()
2661 cntr = NULL; in list_static_range()
2669 show_static_rule(co, fo, bp, r, cntr); in list_static_range()