uint64_t ntohll(ovs_be64);
#endif
+static inline ovs_be128
+hton128(const ovs_u128 src)
+{
+ ovs_be128 dst;
+
+ dst.be64.hi = htonll(src.u64.hi);
+ dst.be64.lo = htonll(src.u64.lo);
+ return dst;
+}
+
+static inline ovs_u128
+ntoh128(const ovs_be128 src)
+{
+ ovs_u128 dst;
+
+ dst.u64.hi = ntohll(src.be64.hi);
+ dst.u64.lo = ntohll(src.be64.lo);
+ return dst;
+}
+
static inline uint32_t
uint32_byteswap(uint32_t crc) {
return (((crc & 0x000000ff) << 24) |