Symbol: bw_meter
sys/netinet/ip_mroute.c
1744
struct bw_meter *x;
sys/netinet/ip_mroute.c
1921
struct bw_meter *x = arg;
sys/netinet/ip_mroute.c
1970
struct bw_meter *x, **bwm_ptr;
sys/netinet/ip_mroute.c
2060
free_bw_list(struct bw_meter *list)
sys/netinet/ip_mroute.c
2063
struct bw_meter *x = list;
sys/netinet/ip_mroute.c
2083
struct bw_meter *x, **bwm_ptr;
sys/netinet/ip_mroute.c
2099
struct bw_meter *list;
sys/netinet/ip_mroute.c
2113
struct bw_meter *prev;
sys/netinet/ip_mroute.c
2158
bw_meter_geq_receive_packet(struct bw_meter *x, int plen, struct timeval *nowp)
sys/netinet/ip_mroute.c
2203
bw_meter_prepare_upcall(struct bw_meter *x, struct timeval *nowp)
sys/netinet/ip_mroute.c
322
static void bw_meter_prepare_upcall(struct bw_meter *, struct timeval *);
sys/netinet/ip_mroute.c
323
static void bw_meter_geq_receive_packet(struct bw_meter *, int,
sys/netinet/ip_mroute.c
336
static void free_bw_list(struct bw_meter *);
sys/netinet/ip_mroute.h
288
struct bw_meter *mfc_bw_meter_leq; /* list of bandwidth meters
sys/netinet/ip_mroute.h
290
struct bw_meter *mfc_bw_meter_geq; /* list of bandwidth meters
sys/netinet/ip_mroute.h
332
struct bw_meter *bm_mfc_next; /* next bw meter (same mfc) */
sys/netinet/ip_mroute.h
333
struct bw_meter *bm_time_next; /* next bw meter (same time) */
usr.bin/netstat/mroute.c
100
(uintmax_t)bw_meter->bm_measured.b_packets);
usr.bin/netstat/mroute.c
102
(uintmax_t)bw_meter->bm_measured.b_packets);
usr.bin/netstat/mroute.c
105
if (bw_meter->bm_flags & BW_METER_UNIT_BYTES) {
usr.bin/netstat/mroute.c
107
(uintmax_t)bw_meter->bm_measured.b_bytes);
usr.bin/netstat/mroute.c
109
(uintmax_t)bw_meter->bm_measured.b_bytes);
usr.bin/netstat/mroute.c
114
(u_long)bw_meter->bm_start_time.tv_sec,
usr.bin/netstat/mroute.c
115
(u_long)bw_meter->bm_start_time.tv_usec, s1, s2);
usr.bin/netstat/mroute.c
118
xo_emit(" {t:type/%-3s}", (bw_meter->bm_flags & BW_METER_GEQ) ? ">=" :
usr.bin/netstat/mroute.c
119
(bw_meter->bm_flags & BW_METER_LEQ) ? "<=" : "?");
usr.bin/netstat/mroute.c
122
if (bw_meter->bm_flags & BW_METER_UNIT_PACKETS) {
usr.bin/netstat/mroute.c
124
(uintmax_t)bw_meter->bm_threshold.b_packets);
usr.bin/netstat/mroute.c
126
(uintmax_t)bw_meter->bm_threshold.b_packets);
usr.bin/netstat/mroute.c
129
if (bw_meter->bm_flags & BW_METER_UNIT_BYTES) {
usr.bin/netstat/mroute.c
131
(uintmax_t)bw_meter->bm_threshold.b_bytes);
usr.bin/netstat/mroute.c
133
(uintmax_t)bw_meter->bm_threshold.b_bytes);
usr.bin/netstat/mroute.c
139
(u_long)bw_meter->bm_threshold.b_time.tv_sec,
usr.bin/netstat/mroute.c
140
(u_long)bw_meter->bm_threshold.b_time.tv_usec, s1, s2);
usr.bin/netstat/mroute.c
143
timeradd(&bw_meter->bm_start_time,
usr.bin/netstat/mroute.c
144
&bw_meter->bm_threshold.b_time, &end);
usr.bin/netstat/mroute.c
169
struct bw_meter bw_meter, *bwm;
usr.bin/netstat/mroute.c
212
error = kread((u_long)bwm, (char *)&bw_meter,
usr.bin/netstat/mroute.c
213
sizeof(bw_meter));
usr.bin/netstat/mroute.c
216
print_bw_meter(&bw_meter, &bw_banner_printed);
usr.bin/netstat/mroute.c
217
bwm = bw_meter.bm_mfc_next;
usr.bin/netstat/mroute.c
221
error = kread((u_long)bwm, (char *)&bw_meter,
usr.bin/netstat/mroute.c
222
sizeof(bw_meter));
usr.bin/netstat/mroute.c
225
print_bw_meter(&bw_meter, &bw_banner_printed);
usr.bin/netstat/mroute.c
226
bwm = bw_meter.bm_mfc_next;
usr.bin/netstat/mroute.c
73
static void print_bw_meter(struct bw_meter *, int *);
usr.bin/netstat/mroute.c
77
print_bw_meter(struct bw_meter *bw_meter, int *banner_printed)
usr.bin/netstat/mroute.c
98
if (bw_meter->bm_flags & BW_METER_UNIT_PACKETS) {