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_option.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2018 Intel Corporation.
3
*/
4
5
#ifndef __INCLUDE_RTE_OPTION_H__
6
#define __INCLUDE_RTE_OPTION_H__
7
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
30
typedef
int (*rte_option_cb)(void);
31
39
struct
rte_option
{
40
TAILQ_ENTRY
(
rte_option
) next;
41
const
char
*
name
;
42
const
char
*
usage
;
43
rte_option_cb
cb
;
44
int
enabled
;
45
};
46
64
__rte_experimental
65
int
66
rte_option_register
(
struct
rte_option
*opt);
67
68
#ifdef __cplusplus
69
}
70
#endif
71
72
#endif
rte_option_register
__rte_experimental int rte_option_register(struct rte_option *opt)
rte_option::TAILQ_ENTRY
TAILQ_ENTRY(rte_option) next
rte_option::cb
rte_option_cb cb
Definition:
rte_option.h:43
rte_option::enabled
int enabled
Definition:
rte_option.h:44
rte_option::usage
const char * usage
Definition:
rte_option.h:42
rte_option
Definition:
rte_option.h:39
rte_option::name
const char * name
Definition:
rte_option.h:41
Generated by
1.8.15