24f8e8c6e88e1e13be7595325dd51c7f8b266c76
3 /* Byte swap a 64-bit number. */
4 static inline uint64_t swap64(uint64_t in
)
6 #ifndef WORDS_BIGENDIAN
7 /* Little endian, flip the bytes around until someone makes a faster/better
13 rv
= (rv
<< 8) | (in
& 0xff);
18 /* big-endian machines don't need byte swapping */
23 uint64_t ntohll(uint64_t value
)
28 uint64_t htonll(uint64_t value
)