Searched refs:NUM_PACKET_SIZE_BINS (Results 1 – 2 of 2) sorted by relevance
80 #define NUM_PACKET_SIZE_BINS 2 macro82 static const int packet_size_bins[NUM_PACKET_SIZE_BINS] = { 250, 1600 };99 struct rate_stats stats[NUM_PACKET_SIZE_BINS][SAMPLE_MAXRATES];100 int last_sample_rix[NUM_PACKET_SIZE_BINS];102 int current_sample_rix[NUM_PACKET_SIZE_BINS]; 103 int packets_sent[NUM_PACKET_SIZE_BINS];105 int current_rix[NUM_PACKET_SIZE_BINS];106 int packets_since_switch[NUM_PACKET_SIZE_BINS];107 unsigned ticks_since_switch[NUM_PACKET_SIZE_BINS];109 int packets_since_sample[NUM_PACKET_SIZE_BINS];[all …]
120 #if NUM_PACKET_SIZE_BINS > 1 in size_to_bin()124 #if NUM_PACKET_SIZE_BINS > 2 in size_to_bin()128 #if NUM_PACKET_SIZE_BINS > 3 in size_to_bin()132 #if NUM_PACKET_SIZE_BINS > 4 in size_to_bin()135 return NUM_PACKET_SIZE_BINS-1; in size_to_bin()792 for (y = size_bin+1; y < NUM_PACKET_SIZE_BINS; y++) { in update_stats()1120 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in ath_rate_ctl_reset()1277 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in sample_stats()1297 for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) { in sample_stats()