| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| #ifndef INFINIBAND_ARCH_H |
| #define INFINIBAND_ARCH_H |
| |
| #include <stdint.h> |
| #include <endian.h> |
| |
| #warning "This header is obsolete." |
| |
| #ifndef ntohll |
| #undef htonll |
| #undef ntohll |
| |
| static inline __attribute__((deprecated)) uint64_t htonll(uint64_t x) { return htobe64(x); } |
| static inline __attribute__((deprecated)) uint64_t ntohll(uint64_t x) { return be64toh(x); } |
| #define htonll htonll |
| #define ntohll ntohll |
| #endif |
| |
| |
| |
| #endif |