FD.io VPP  v21.06-3-gbb25fbf28
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 326 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 330 of file cli.c.

◆ input

u8* unix_cli_parse_actions_t::input

Input string to match.

Definition at line 328 of file cli.c.

◆ len

u32 unix_cli_parse_actions_t::len

Length of input without final NUL.

Definition at line 329 of file cli.c.


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