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

Function prompt

dpdk/examples/bond/main.c:670–679  ·  view source on GitHub ↗

prompt function, called from main on MAIN lcore */

Source from the content-addressed store, hash-verified

668
669/* prompt function, called from main on MAIN lcore */
670static void prompt(__rte_unused void *arg1)
671{
672 struct cmdline *cl;
673
674 cl = cmdline_stdin_new(main_ctx, "bond6>");
675 if (cl != NULL) {
676 cmdline_interact(cl);
677 cmdline_stdin_exit(cl);
678 }
679}
680
681/* Main function, does initialisation and calls the per-lcore functions */
682int

Callers 1

mainFunction · 0.70

Calls 3

cmdline_stdin_newFunction · 0.85
cmdline_interactFunction · 0.85
cmdline_stdin_exitFunction · 0.85

Tested by

no test coverage detected