Use ntohs instead of runtime endian detection.