MAX_PACKETS
for (i = 0; i < MAX_PACKETS; i++) {
if (i == MAX_PACKETS)
log(LOG_INFO, "used all the %d loops\n", MAX_PACKETS);