DPDK
18.05.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_eal
common
include
rte_errno.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
11
#ifndef _RTE_ERRNO_H_
12
#define _RTE_ERRNO_H_
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#include <
rte_per_lcore.h
>
19
20
RTE_DECLARE_PER_LCORE
(
int
, _rte_errno);
29
#define rte_errno RTE_PER_LCORE(_rte_errno)
30
42
const
char
*
rte_strerror
(
int
errnum);
43
44
#ifndef __ELASTERROR
45
49
#define __ELASTERROR 1000
50
#endif
51
53
enum
{
54
RTE_MIN_ERRNO
=
__ELASTERROR
,
56
E_RTE_SECONDARY
,
57
E_RTE_NO_CONFIG
,
59
RTE_MAX_ERRNO
60
};
61
62
#ifdef __cplusplus
63
}
64
#endif
65
66
#endif
/* _RTE_ERRNO_H_ */
Generated by
1.8.1.2