NUM_PACKET_SIZE_BINS
for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) {
for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) {
for (y = 0; y < NUM_PACKET_SIZE_BINS; y++) {
#if NUM_PACKET_SIZE_BINS > 1
#if NUM_PACKET_SIZE_BINS > 2
#if NUM_PACKET_SIZE_BINS > 3
#if NUM_PACKET_SIZE_BINS > 4
#if NUM_PACKET_SIZE_BINS > 5
#if NUM_PACKET_SIZE_BINS > 6
#if NUM_PACKET_SIZE_BINS > 7
#if NUM_PACKET_SIZE_BINS > 8
return NUM_PACKET_SIZE_BINS-1;
int current_sample_rix[NUM_PACKET_SIZE_BINS];
int packets_sent[NUM_PACKET_SIZE_BINS];
int current_rix[NUM_PACKET_SIZE_BINS];
int packets_since_switch[NUM_PACKET_SIZE_BINS];
int ticks_since_switch[NUM_PACKET_SIZE_BINS];
int packets_since_sample[NUM_PACKET_SIZE_BINS];
unsigned sample_tt[NUM_PACKET_SIZE_BINS];
static const int packet_size_bins[NUM_PACKET_SIZE_BINS] = { 250, 1600, 4096, 8192, 16384, 32768, 65536 };
struct rate_stats stats[NUM_PACKET_SIZE_BINS][SAMPLE_MAXRATES];
int last_sample_rix[NUM_PACKET_SIZE_BINS];