DPDK
18.11.11
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
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
32
/*
33
* Structure describing the EAL command line option being registered.
34
*/
35
struct
rte_option {
36
TAILQ_ENTRY(rte_option) next;
37
const
char
*opt_str;
38
rte_option_cb cb;
39
int
enabled;
40
};
41
56
void
__rte_experimental
57
rte_option_register
(struct rte_option *opt);
58
59
#ifdef __cplusplus
60
}
61
#endif
62
63
#endif
rte_option_register
void __rte_experimental rte_option_register(struct rte_option *opt)
Generated by
1.8.9.1