u_int32_t is not standart type, you can use uint32_t