Blog
Community
Development
Documentation
CNDP
22.08.0
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