Home
last modified time | relevance | path

Searched refs:msg_in (Results 1 – 9 of 9) sorted by relevance

/dpdk/examples/ip_pipeline/
H A Dconn.c26 char *msg_in; member
69 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in conn_init()
75 (conn->msg_in == NULL) || in conn_init()
144 free(conn->msg_in); in conn_free()
233 conn->msg_in[conn->msg_in_len] = 0; in data_event_handle()
236 conn->msg_handle(conn->msg_in, in data_event_handle()
251 conn->msg_in[conn->msg_in_len] = conn->buf[i]; in data_event_handle()
H A Dconn.h20 typedef void (*conn_msg_handle_t)(char *msg_in,
H A Dcli.c6688 char *msg_in = NULL, *msg_out = NULL; in cli_script_process() local
6698 msg_in = malloc(msg_in_len_max + 1); in cli_script_process()
6700 if ((msg_in == NULL) || in cli_script_process()
6703 free(msg_in); in cli_script_process()
6711 free(msg_in); in cli_script_process()
6717 if (fgets(msg_in, msg_in_len_max + 1, f) == NULL) in cli_script_process()
6720 printf("%s", msg_in); in cli_script_process()
6723 cli_process(msg_in, in cli_script_process()
6734 free(msg_in); in cli_script_process()
/dpdk/drivers/net/softnic/
H A Dconn.c26 char *msg_in; member
70 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in softnic_conn_init()
76 conn->msg_in == NULL || in softnic_conn_init()
146 free(conn->msg_in); in softnic_conn_free()
236 conn->msg_in[conn->msg_in_len] = 0; in data_event_handle()
239 conn->msg_handle(conn->msg_in, in data_event_handle()
255 conn->msg_in[conn->msg_in_len] = conn->buf[i]; in data_event_handle()
H A Dconn.h20 typedef void (*softnic_conn_msg_handle_t)(char *msg_in,
H A Drte_eth_softnic_cli.c6409 char *msg_in = NULL, *msg_out = NULL; in softnic_cli_script_process() local
6419 msg_in = malloc(msg_in_len_max + 1); in softnic_cli_script_process()
6421 if (msg_in == NULL || in softnic_cli_script_process()
6424 free(msg_in); in softnic_cli_script_process()
6432 free(msg_in); in softnic_cli_script_process()
6438 if (fgets(msg_in, msg_in_len_max + 1, f) == NULL) in softnic_cli_script_process()
6441 printf("%s", msg_in); in softnic_cli_script_process()
6444 softnic_cli_process(msg_in, in softnic_cli_script_process()
6456 free(msg_in); in softnic_cli_script_process()
/dpdk/examples/pipeline/
H A Dconn.c26 char *msg_in; member
70 conn->msg_in = calloc(1, p->msg_in_len_max + 1); in conn_init()
76 (conn->msg_in == NULL) || in conn_init()
146 free(conn->msg_in); in conn_free()
235 conn->msg_in[conn->msg_in_len] = 0; in data_event_handle()
238 conn->msg_handle(conn->msg_in, in data_event_handle()
254 conn->msg_in[conn->msg_in_len] = conn->buf[i]; in data_event_handle()
H A Dconn.h21 (*conn_msg_handle_t)(char *msg_in,
H A Dcli.c3340 char *msg_in = NULL, *msg_out = NULL; in cli_script_process() local
3350 msg_in = malloc(msg_in_len_max + 1); in cli_script_process()
3352 if ((msg_in == NULL) || in cli_script_process()
3355 free(msg_in); in cli_script_process()
3363 free(msg_in); in cli_script_process()
3369 if (fgets(msg_in, msg_in_len_max + 1, f) == NULL) in cli_script_process()
3372 printf("%s", msg_in); in cli_script_process()
3375 cli_process(msg_in, in cli_script_process()
3387 free(msg_in); in cli_script_process()