#include "mp_commands.h"
 
void
cmd_send_parsed(void *parsed_result,
{
    void *msg = NULL;
    struct cmd_send_result *res = parsed_result;
 
    strlcpy((char *)msg, res->message, STR_TOKEN_SIZE);
        printf("Failed to send message - message discarded\n");
    }
}
 
void
                struct cmdline *cl,
{
    quit = 1;
    cmdline_quit(cl);
}
 
void
                struct cmdline *cl,
{
    cmdline_printf(cl, "Simple demo example of multi-process in RTE\n\n"
            "This is a readline-like interface that can be used to\n"
            "send commands to the simple app. Commands supported are:\n\n"
            "- send [string]\n" "- help\n" "- quit\n\n");
}
static __rte_always_inline int rte_mempool_get(struct rte_mempool *mp, void **obj_p)
 
static __rte_always_inline void rte_mempool_put(struct rte_mempool *mp, void *obj)
 
static __rte_always_inline int rte_ring_enqueue(struct rte_ring *r, void *obj)