62 return _packlh2(dword,dword);
70 inline uint32_t
htonl(uint32_t hostlong)
72 #if defined(__little_endian__)
79 inline uint16_t
htons(uint16_t hostshort)
81 #if defined(__little_endian__)
82 return _swap4(hostshort);
88 inline uint32_t
ntohl(uint32_t netlong)
90 #if defined(__little_endian__)
97 inline uint16_t
ntohs(uint16_t netshort)
99 #if defined(__little_endian__)
100 return _swap4(netshort);
uint32_t ntohl(uint32_t netlong)
uint32_t htonl(uint32_t hostlong)
uint32_t swap_words(uint32_t dword)
uint16_t ntohs(uint16_t netshort)
uint32_t revert_byte_order(uint32_t dword)
uint16_t htons(uint16_t hostshort)