Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
cne_byteorder.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2019-2022 Intel Corporation
3
*/
4
5
#ifndef _CNE_BYTEORDER_H_
6
#define _CNE_BYTEORDER_H_
7
14
#include <stdint.h>
15
#include <endian.h>
16
/*
17
* The following types should be used when handling values according to a
18
* specific byte ordering, which may differ from that of the host CPU.
19
*
20
* Libraries, public APIs and applications are encouraged to use them for
21
* documentation purposes.
22
*/
23
typedef
uint16_t
cne_be16_t
;
24
typedef
uint32_t
cne_be32_t
;
25
typedef
uint64_t
cne_be64_t
;
26
typedef
uint16_t
cne_le16_t
;
27
typedef
uint32_t
cne_le32_t
;
28
typedef
uint64_t
cne_le64_t
;
30
#endif
/* _CNE_BYTEORDER_H_ */
cne_be16_t
uint16_t cne_be16_t
Definition:
cne_byteorder.h:23
cne_le32_t
uint32_t cne_le32_t
Definition:
cne_byteorder.h:27
cne_be64_t
uint64_t cne_be64_t
Definition:
cne_byteorder.h:25
cne_le16_t
uint16_t cne_le16_t
Definition:
cne_byteorder.h:26
cne_le64_t
uint64_t cne_le64_t
Definition:
cne_byteorder.h:28
cne_be32_t
uint32_t cne_be32_t
Definition:
cne_byteorder.h:24
lib
include
cne_byteorder.h
Generated by
1.9.1