USB Constants and Structures
Inclusion guard
> 8)) /* host to network short (2 byte value) */ #define htons(a) (((uint16)(a) << 8) | ((uint16)(a) << 8)) #define ntohs(a) htons(a) #else #endif ]]>
Guarantee that the byte order is correct across platforms
Close inclusion guard