FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
unix_cli_parse_actions_t Struct Reference

Mapping of input buffer strings to action values. More...

Data Fields

u8input
 Input string to match. More...
 
u32 len
 Length of input without final NUL. More...
 
unix_cli_parse_action_t action
 Action to take when matched. More...
 

Detailed Description

Mapping of input buffer strings to action values.

Note
This won't work as a hash since we need to be able to do partial matches on the string.

Definition at line 306 of file cli.c.

Field Documentation

unix_cli_parse_action_t unix_cli_parse_actions_t::action

Action to take when matched.

Definition at line 310 of file cli.c.

u8* unix_cli_parse_actions_t::input

Input string to match.

Definition at line 308 of file cli.c.

u32 unix_cli_parse_actions_t::len

Length of input without final NUL.

Definition at line 309 of file cli.c.


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