MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cmd_num_parsed

Function cmd_num_parsed

dpdk/app/test-cmdline/commands.c:186–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184};
185
186static void
187cmd_num_parsed(void *parsed_result,
188 struct cmdline *cl,
189 __rte_unused void *data)
190{
191 unsigned result = ((struct cmd_num_result*)parsed_result)->num;
192 cmdline_printf(cl, "%u\n", result);
193}
194
195cmdline_parse_token_num_t cmd_num_tok =
196 TOKEN_NUM_INITIALIZER(struct cmd_num_result, num, RTE_UINT32);

Callers

nothing calls this directly

Calls 1

cmdline_printfFunction · 0.85

Tested by

no test coverage detected