FD.io VPP  v19.08-27-gf4dcae4
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 322 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 326 of file cli.c.

u8* unix_cli_parse_actions_t::input

Input string to match.

Definition at line 324 of file cli.c.

u32 unix_cli_parse_actions_t::len

Length of input without final NUL.

Definition at line 325 of file cli.c.


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