DPDK  21.05.0
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 {
60 };
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
66 #endif /* _RTE_ERRNO_H_ */
RTE_DECLARE_PER_LCORE(int, _rte_errno)
const char * rte_strerror(int errnum)
#define __ELASTERROR
Definition: rte_errno.h:49