CNDP  22.08.0
cne_byteorder.h File Reference
#include <stdint.h>
#include <endian.h>

Go to the source code of this file.

Typedefs

typedef uint16_t cne_be16_t
 
typedef uint32_t cne_be32_t
 
typedef uint64_t cne_be64_t
 
typedef uint16_t cne_le16_t
 
typedef uint32_t cne_le32_t
 
typedef uint64_t cne_le64_t
 

Detailed Description

This file defines generic types for values with a specific endianness.

Definition in file cne_byteorder.h.

Typedef Documentation

◆ cne_be16_t

typedef uint16_t cne_be16_t

16-bit big-endian value.

Definition at line 23 of file cne_byteorder.h.

◆ cne_be32_t

typedef uint32_t cne_be32_t

32-bit big-endian value.

Definition at line 24 of file cne_byteorder.h.

◆ cne_be64_t

typedef uint64_t cne_be64_t

64-bit big-endian value.

Definition at line 25 of file cne_byteorder.h.

◆ cne_le16_t

typedef uint16_t cne_le16_t

16-bit little-endian value.

Definition at line 26 of file cne_byteorder.h.

◆ cne_le32_t

typedef uint32_t cne_le32_t

32-bit little-endian value.

Definition at line 27 of file cne_byteorder.h.

◆ cne_le64_t

typedef uint64_t cne_le64_t

64-bit little-endian value.

Definition at line 28 of file cne_byteorder.h.