#include <sys/types.h> #include <sys/stream.h> #include <sys/mdi.h> #include <sys/ddi.h> unsigned short mdi_htons(unsigned short);
unsigned short mdi_htons(unsigned short);
0xf010
mdi_htons(0xf010)
0x10f0