Lines Matching full:threshold
149 * measured bandwidth is above or below a threshold.
152 * bandwidth used by some data flow is above or below some threshold.
153 * This interface allows the userland to specify the threshold (in
160 * The threshold is set in packets and/or bytes per_interval.
167 * pass the threshold we deliver an upcall and we are done.
174 * When the timer fires, we compare the value with the threshold,
189 #define BW_UPCALL_UNIT_PACKETS (1 << 0) /* threshold (in packets) */
190 #define BW_UPCALL_UNIT_BYTES (1 << 1) /* threshold (in bytes) */
191 #define BW_UPCALL_GEQ (1 << 2) /* upcall if bw >= threshold */
192 #define BW_UPCALL_LEQ (1 << 3) /* upcall if bw <= threshold */
194 struct bw_data bu_threshold; /* the bw threshold */
200 /* min. threshold time interval for bandwidth measurement */
329 * measured bandwidth is above or below a threshold.
336 #define BW_METER_UNIT_PACKETS (1 << 0) /* threshold (in packets) */
337 #define BW_METER_UNIT_BYTES (1 << 1) /* threshold (in bytes) */
338 #define BW_METER_GEQ (1 << 2) /* upcall if bw >= threshold */
339 #define BW_METER_LEQ (1 << 3) /* upcall if bw <= threshold */
347 struct bw_data bm_threshold; /* the upcall threshold */