FD.io VPP  v19.08.3-2-gbabecb413
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 323 of file cli.c.

Field Documentation

◆ action

unix_cli_parse_action_t unix_cli_parse_actions_t::action

Action to take when matched.

Definition at line 327 of file cli.c.

◆ input

u8* unix_cli_parse_actions_t::input

Input string to match.

Definition at line 325 of file cli.c.

◆ len

u32 unix_cli_parse_actions_t::len

Length of input without final NUL.

Definition at line 326 of file cli.c.


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