use ntoh/hton instead platform specific byteswap.h