11 #ifndef ODP_API_SPEC_BYTEORDER_H_
12 #define ODP_API_SPEC_BYTEORDER_H_
13 #include <odp/visibility_begin.h>
178 #include <odp/visibility_end.h>
odp_u64le_t odp_cpu_to_le_64(uint64_t cpu64)
Convert cpu native uint64_t to 64bit little endian.
uint32_t odp_u32be_t
unsigned 32bit big endian
odp_u16le_t odp_cpu_to_le_16(uint16_t cpu16)
Convert cpu native uint16_t to 16bit little endian.
odp_u16be_t odp_cpu_to_be_16(uint16_t cpu16)
Convert cpu native uint16_t to 16bit big endian.
odp_u64be_t odp_cpu_to_be_64(uint64_t cpu64)
Convert cpu native uint64_t to 64bit big endian.
uint32_t odp_u32le_t
unsigned 32bit little endian
uint32_t odp_le_to_cpu_32(odp_u32le_t le32)
Convert 32bit little endian to cpu native uint32_t.
uint16_t odp_be_to_cpu_16(odp_u16be_t be16)
Convert 16bit big endian to cpu native uint16_t.
uint64_t odp_be_to_cpu_64(odp_u64be_t be64)
Convert 64bit big endian to cpu native uint64_t.
odp_u32le_t odp_cpu_to_le_32(uint32_t cpu32)
Convert cpu native uint32_t to 32bit little endian.
uint16_t odp_u16be_t
unsigned 16bit big endian
uint16_t odp_le_to_cpu_16(odp_u16le_t le16)
Convert 16bit little endian to cpu native uint16_t.
uint16_t odp_u16le_t
unsigned 16bit little endian
uint64_t odp_le_to_cpu_64(odp_u64le_t le64)
Convert 64bit little endian to cpu native uint64_t.
odp_u32be_t odp_cpu_to_be_32(uint32_t cpu32)
Convert cpu native uint32_t to 32bit big endian.
uint64_t odp_u64be_t
unsigned 64bit big endian
uint64_t odp_u64le_t
unsigned 64bit little endian
uint32_t odp_be_to_cpu_32(odp_u32be_t be32)
Convert 32bit big endian to cpu native uint32_t.