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

Function cmd_flow_context_init

dpdk/app/test-pmd/cmdline_flow.c:12206–12220  ·  view source on GitHub ↗

Initialize context. */

Source from the content-addressed store, hash-verified

12204
12205/** Initialize context. */
12206static void
12207cmd_flow_context_init(struct context *ctx)
12208{
12209 /* A full memset() is not necessary. */
12210 ctx->curr = ZERO;
12211 ctx->prev = ZERO;
12212 ctx->next_num = 0;
12213 ctx->args_num = 0;
12214 ctx->eol = 0;
12215 ctx->last = 0;
12216 ctx->port = 0;
12217 ctx->objdata = 0;
12218 ctx->object = NULL;
12219 ctx->objmask = NULL;
12220}
12221
12222/** Parse a token (cmdline API). */
12223static int

Callers 3

flow_parseFunction · 0.85
cmd_flow_tokFunction · 0.85
cmd_set_raw_tokFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected