IP_ADDR_COUNT
uint32_t ip_idx[IP_ADDR_COUNT] = {0, 1, 2, 3}; /* 4 IP interfaces */
for (idx = 0; idx < IP_ADDR_COUNT; idx++) {