change u_int32_t to quint32 for portablility