DPDK 22.11.4
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
15extern "C" {
16#endif
17
18#include <rte_per_lcore.h>
19
20RTE_DECLARE_PER_LCORE(int, _rte_errno);
29#define rte_errno RTE_PER_LCORE(_rte_errno)
30
42const char *rte_strerror(int errnum);
43
44#ifndef __ELASTERROR
49#define __ELASTERROR 1000
50#endif
51
53enum {
60};
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* _RTE_ERRNO_H_ */
const char * rte_strerror(int errnum)
@ E_RTE_NO_CONFIG
Definition: rte_errno.h:57
@ RTE_MAX_ERRNO
Definition: rte_errno.h:59
@ RTE_MIN_ERRNO
Definition: rte_errno.h:54
@ E_RTE_SECONDARY
Definition: rte_errno.h:56
RTE_DECLARE_PER_LCORE(int, _rte_errno)
#define __ELASTERROR
Definition: rte_errno.h:49