DPDK  19.11.14
Public Member Functions | Data Fields
rte_option Struct Reference

#include <rte_option.h>

Public Member Functions

 TAILQ_ENTRY (rte_option) next
 

Data Fields

const char * name
 
const char * usage
 
rte_option_cb cb
 
int enabled
 

Detailed Description

Structure describing an EAL command line option dynamically registered.

Common EAL options are mostly statically defined. Some libraries need additional options to be dynamically added. This structure describes such options.

Definition at line 39 of file rte_option.h.

Member Function Documentation

◆ TAILQ_ENTRY()

TAILQ_ENTRY ( rte_option  )

Next entry in the list.

Field Documentation

◆ name

const char* name

The option name.

Definition at line 41 of file rte_option.h.

◆ usage

const char* usage

Option summary string.

Definition at line 42 of file rte_option.h.

◆ cb

rte_option_cb cb

Function called when option is used.

Definition at line 43 of file rte_option.h.

◆ enabled

int enabled

Set when the option is used.

Definition at line 44 of file rte_option.h.


The documentation for this struct was generated from the following file: