Searched refs:clear_type (Results 1 – 2 of 2) sorted by relevance
256 throughput_clear(struct pppThroughput *t, int clear_type, struct prompt *prompt) in throughput_clear() argument258 if (clear_type & (THROUGHPUT_OVERALL|THROUGHPUT_CURRENT)) { in throughput_clear()266 if (clear_type & THROUGHPUT_OVERALL) { in throughput_clear()278 if (clear_type & THROUGHPUT_CURRENT) { in throughput_clear()285 if (clear_type & THROUGHPUT_PEAK) { in throughput_clear()
3122 int i, clear_type; in ClearCommand() local3146 clear_type = 0; in ClearCommand()3149 clear_type |= THROUGHPUT_OVERALL; in ClearCommand()3151 clear_type |= THROUGHPUT_CURRENT; in ClearCommand()3153 clear_type |= THROUGHPUT_PEAK; in ClearCommand()3157 clear_type = THROUGHPUT_ALL; in ClearCommand()3159 throughput_clear(t, clear_type, arg->prompt); in ClearCommand()