DPDK
19.08.0-rc0
Main Page
Related Pages
+
Data Structures
Data Structures
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
+
Functions
_
c
e
p
r
s
t
+
Variables
b
c
l
m
r
+
Typedefs
a
c
d
e
h
l
m
p
r
s
u
+
Enumerations
r
+
Enumerator
c
e
f
i
m
r
s
w
+
Macros
_
b
c
d
e
i
l
m
o
p
r
s
t
u
v
Examples
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_ */
rte_per_lcore.h
E_RTE_SECONDARY
Definition:
rte_errno.h:56
RTE_MIN_ERRNO
Definition:
rte_errno.h:54
RTE_MAX_ERRNO
Definition:
rte_errno.h:59
RTE_DECLARE_PER_LCORE
RTE_DECLARE_PER_LCORE(int, _rte_errno)
E_RTE_NO_CONFIG
Definition:
rte_errno.h:57
rte_strerror
const char * rte_strerror(int errnum)
__ELASTERROR
#define __ELASTERROR
Definition:
rte_errno.h:49
Generated by
1.8.15