Home
last modified time | relevance | path

Searched refs:bm_threshold (Results 1 – 3 of 3) sorted by relevance

/src/usr.bin/netstat/
H A Dmroute.c124 (uintmax_t)bw_meter->bm_threshold.b_packets); in print_bw_meter()
126 (uintmax_t)bw_meter->bm_threshold.b_packets); in print_bw_meter()
131 (uintmax_t)bw_meter->bm_threshold.b_bytes); in print_bw_meter()
133 (uintmax_t)bw_meter->bm_threshold.b_bytes); in print_bw_meter()
139 (u_long)bw_meter->bm_threshold.b_time.tv_sec, in print_bw_meter()
140 (u_long)bw_meter->bm_threshold.b_time.tv_usec, s1, s2); in print_bw_meter()
144 &bw_meter->bm_threshold.b_time, &end); in print_bw_meter()
/src/sys/netinet/
H A Dip_mroute.c1888 (x->bm_measured.b_packets <= x->bm_threshold.b_packets)) || in expire_bw_meter_leq()
1890 (x->bm_measured.b_bytes <= x->bm_threshold.b_bytes))) { in expire_bw_meter_leq()
1909 callout_schedule(&x->bm_meter_callout, tvtohz(&x->bm_threshold.b_time)); in expire_bw_meter_leq()
1961 if ((BW_TIMEVALCMP(&x->bm_threshold.b_time, in add_bw_upcall()
1963 && (x->bm_threshold.b_packets in add_bw_upcall()
1965 && (x->bm_threshold.b_bytes in add_bw_upcall()
1982 x->bm_threshold.b_time = req->bu_threshold.b_time; in add_bw_upcall()
1985 x->bm_threshold.b_packets = req->bu_threshold.b_packets; in add_bw_upcall()
1986 x->bm_threshold.b_bytes = req->bu_threshold.b_bytes; in add_bw_upcall()
1999 callout_reset(&x->bm_meter_callout, tvtohz(&x->bm_threshold.b_time), in add_bw_upcall()
[all …]
H A Dip_mroute.h347 struct bw_data bm_threshold; /* the upcall threshold */ member