Searched refs:be16toh (Results 1 – 8 of 8) sorted by relevance
26 # define be16toh(x) OSSwapBigToHostInt16(x) macro52 # define be16toh(x) betoh16(x) macro70 # define be16toh(x) ntohs(x) macro88 # define be16toh(x) (x) macro
25 # define be16toh(x) betoh16(x) macro50 # define be16toh(x) OSSwapBigToHostInt16(x) macro96 # define be16toh(x) ntohs(x) macro114 # define be16toh(x) (x) macro
23 # define be16toh(x) __bswap_16 (x) macro38 # define be16toh(x) (x) macro
41 pHeader->e_phentsize = be16toh(pHeader->e_phentsize); \42 pHeader->e_phnum = be16toh(pHeader->e_phnum); \
224 #ifndef be16toh225 # define be16toh(x) ntohs(x)234 #define BE16TOH(x) (x) = be16toh(x)336 # define be16atoh(x) be16toh(*(uint16_t*)(x))
222 #define be16toh(x) ntohs(x)228 #define BE16TOH(x) (x) = be16toh(x)297 #define be16atoh(x) be16toh(*(uint16_t*)(x))
38 _val = is_be ? be16toh(_val) : le16toh(_val); \
79 return ((params->byteorder==PTP_DL_LE)?le16toh(var):be16toh(var)); in dtoh16p()