Searched refs:usnum (Results 1 – 2 of 2) sorted by relevance
484 unsigned short curlx_htons(unsigned short usnum) in curlx_htons() argument487 return (unsigned short)(((usnum << 8) & 0xFF00) | ((usnum >> 8) & 0x00FF)); in curlx_htons()491 return htons(usnum); in curlx_htons()496 unsigned short curlx_ntohs(unsigned short usnum) in curlx_ntohs() argument499 return (unsigned short)(((usnum << 8) & 0xFF00) | ((usnum >> 8) & 0x00FF)); in curlx_ntohs()503 return ntohs(usnum); in curlx_ntohs()
93 unsigned short curlx_htons(unsigned short usnum);95 unsigned short curlx_ntohs(unsigned short usnum);