API Reference Manual  1.45.0
api/spec/byteorder.h File Reference

ODP byteorder. More...

#include <odp/visibility_begin.h>
#include <odp/visibility_end.h>
Include dependency graph for api/spec/byteorder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint16_t odp_be_to_cpu_16 (odp_u16be_t be16)
 Convert 16bit big endian to cpu native uint16_t. More...
 
uint32_t odp_be_to_cpu_32 (odp_u32be_t be32)
 Convert 32bit big endian to cpu native uint32_t. More...
 
uint64_t odp_be_to_cpu_64 (odp_u64be_t be64)
 Convert 64bit big endian to cpu native uint64_t. More...
 
odp_u16be_t odp_cpu_to_be_16 (uint16_t cpu16)
 Convert cpu native uint16_t to 16bit big endian. More...
 
odp_u32be_t odp_cpu_to_be_32 (uint32_t cpu32)
 Convert cpu native uint32_t to 32bit big endian. More...
 
odp_u64be_t odp_cpu_to_be_64 (uint64_t cpu64)
 Convert cpu native uint64_t to 64bit big endian. More...
 
uint16_t odp_le_to_cpu_16 (odp_u16le_t le16)
 Convert 16bit little endian to cpu native uint16_t. More...
 
uint32_t odp_le_to_cpu_32 (odp_u32le_t le32)
 Convert 32bit little endian to cpu native uint32_t. More...
 
uint64_t odp_le_to_cpu_64 (odp_u64le_t le64)
 Convert 64bit little endian to cpu native uint64_t. More...
 
odp_u16le_t odp_cpu_to_le_16 (uint16_t cpu16)
 Convert cpu native uint16_t to 16bit little endian. More...
 
odp_u32le_t odp_cpu_to_le_32 (uint32_t cpu32)
 Convert cpu native uint32_t to 32bit little endian. More...
 
odp_u64le_t odp_cpu_to_le_64 (uint64_t cpu64)
 Convert cpu native uint64_t to 64bit little endian. More...
 

Detailed Description

ODP byteorder.

Definition in file api/spec/byteorder.h.