Use cross platform types: s/u_int*/uint*