Searched refs:clear_type (Results 1 – 2 of 2) sorted by relevance
254 throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt) in throughput_clear() argument256 if (clear_type & (THROUGHPUT_OVERALL|THROUGHPUT_CURRENT)) { in throughput_clear()264 if (clear_type & THROUGHPUT_OVERALL) { in throughput_clear()276 if (clear_type & THROUGHPUT_CURRENT) { in throughput_clear()283 if (clear_type & THROUGHPUT_PEAK) { in throughput_clear()
3124 int i, clear_type; in ClearCommand() local3148 clear_type = 0; in ClearCommand()3151 clear_type |= THROUGHPUT_OVERALL; in ClearCommand()3153 clear_type |= THROUGHPUT_CURRENT; in ClearCommand()3155 clear_type |= THROUGHPUT_PEAK; in ClearCommand()3159 clear_type = THROUGHPUT_ALL; in ClearCommand()3161 throughput_clear(t, clear_type, arg->prompt); in ClearCommand()