| /f-stack/dpdk/app/test/ |
| H A D | test_cmdline_string.c | 151 (cmdline_parse_token_hdr_t*)&token, 0, NULL, 0) != -1) { in test_parse_string_invalid_param() 156 (cmdline_parse_token_hdr_t*)&token, NULL, in test_parse_string_invalid_param() 162 (cmdline_parse_token_hdr_t*)&token, NULL, 0) != -1) { in test_parse_string_invalid_param() 168 (cmdline_parse_token_hdr_t*)&token, buf, NULL, 0) == -1) { in test_parse_string_invalid_param() 174 (cmdline_parse_token_hdr_t*)&token, -1, buf, 0) != -1) { in test_parse_string_invalid_param() 200 if (cmdline_parse_string((cmdline_parse_token_hdr_t*)&token, in test_parse_string_invalid_data() 227 (cmdline_parse_token_hdr_t*)&token, 1, in test_parse_string_invalid_data() 238 (cmdline_parse_token_hdr_t*)&token, 0, in test_parse_string_invalid_data() 250 (cmdline_parse_token_hdr_t*)&token, in test_parse_string_invalid_data() 273 (cmdline_parse_token_hdr_t*)&token) != 0) { in test_parse_string_invalid_data() [all …]
|
| H A D | test_cmdline_ipaddr.c | 349 if (cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 373 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 376 ret = cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 423 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 465 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 508 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 550 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 604 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_data() 641 if (cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_param() 647 if (cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_param() [all …]
|
| H A D | test_cmdline_num.c | 387 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_invalid_data() 391 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_invalid_data() 425 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 428 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 453 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 456 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 503 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 506 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 531 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 534 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() [all …]
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_parse.h | 40 typedef struct cmdline_token_hdr cmdline_parse_token_hdr_t; typedef 63 int (*parse)(cmdline_parse_token_hdr_t *, const char *, void *, 66 int (*complete_get_nb)(cmdline_parse_token_hdr_t *); 68 int (*complete_get_elt)(cmdline_parse_token_hdr_t *, int, char *, 71 int (*get_help)(cmdline_parse_token_hdr_t *, char *, unsigned int); 136 cmdline_parse_token_hdr_t *tokens[];
|
| H A D | cmdline_parse_string.h | 38 int cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *srcbuf, 40 int cmdline_complete_get_nb_string(cmdline_parse_token_hdr_t *tk); 41 int cmdline_complete_get_elt_string(cmdline_parse_token_hdr_t *tk, int idx, 43 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_string.c | 55 cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in cmdline_parse_string() 139 int cmdline_complete_get_nb_string(cmdline_parse_token_hdr_t *tk) in cmdline_complete_get_nb_string() 162 int cmdline_complete_get_elt_string(cmdline_parse_token_hdr_t *tk, int idx, in cmdline_complete_get_elt_string() 194 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_string()
|
| H A D | cmdline_parse_etheraddr.h | 23 int cmdline_parse_etheraddr(cmdline_parse_token_hdr_t *tk, const char *srcbuf, 25 int cmdline_get_help_etheraddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_portlist.h | 32 int cmdline_parse_portlist(cmdline_parse_token_hdr_t *tk, 34 int cmdline_get_help_portlist(cmdline_parse_token_hdr_t *tk,
|
| H A D | cmdline_parse_num.h | 39 int cmdline_parse_num(cmdline_parse_token_hdr_t *tk, 41 int cmdline_get_help_num(cmdline_parse_token_hdr_t *tk,
|
| H A D | cmdline_parse_etheraddr.c | 30 cmdline_parse_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_etheraddr() 61 cmdline_get_help_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_etheraddr()
|
| H A D | cmdline_parse_ipaddr.h | 43 int cmdline_parse_ipaddr(cmdline_parse_token_hdr_t *tk, const char *srcbuf, 45 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_portlist.c | 75 cmdline_parse_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_portlist() 111 cmdline_get_help_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_portlist()
|
| H A D | cmdline_parse_ipaddr.c | 34 cmdline_parse_ipaddr(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in cmdline_parse_ipaddr() 99 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr()
|
| H A D | cmdline_parse.c | 86 static cmdline_parse_token_hdr_t * 89 cmdline_parse_token_hdr_t *token_p; in get_token() 109 cmdline_parse_token_hdr_t *token_p = NULL; in match_inst() 311 cmdline_parse_token_hdr_t *token_p; in cmdline_complete()
|
| H A D | cmdline_parse_num.c | 99 cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res, in cmdline_parse_num() 320 cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size) in cmdline_get_help_num()
|
| /f-stack/dpdk/examples/cmdline/ |
| H A D | parse_obj_list.h | 40 int parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res, 42 int complete_get_nb_obj_list(cmdline_parse_token_hdr_t *tk); 43 int complete_get_elt_obj_list(cmdline_parse_token_hdr_t *tk, int idx, 45 int get_help_obj_list(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size);
|
| H A D | parse_obj_list.c | 33 parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in parse_obj_list() 67 int complete_get_nb_obj_list(cmdline_parse_token_hdr_t *tk) in complete_get_nb_obj_list() 80 int complete_get_elt_obj_list(cmdline_parse_token_hdr_t *tk, in complete_get_elt_obj_list() 107 int get_help_obj_list(__rte_unused cmdline_parse_token_hdr_t *tk, in get_help_obj_list()
|
| /f-stack/dpdk/app/test-pmd/ |
| H A D | cmdline_flow.c | 7058 cmd_flow_parse(cmdline_parse_token_hdr_t *hdr, const char *src, void *result, in cmd_flow_parse() 7135 cmd_flow_complete_get_nb(cmdline_parse_token_hdr_t *hdr) in cmd_flow_complete_get_nb() 7167 cmd_flow_complete_get_elt(cmdline_parse_token_hdr_t *hdr, int index, in cmd_flow_complete_get_elt() 7204 cmd_flow_get_help(cmdline_parse_token_hdr_t *hdr, char *dst, unsigned int size) in cmd_flow_get_help() 7234 cmd_flow_tok(cmdline_parse_token_hdr_t **hdr, in cmd_flow_tok() 7235 cmdline_parse_token_hdr_t **hdr_inst) in cmd_flow_tok() 7692 cmd_set_raw_get_help(cmdline_parse_token_hdr_t *hdr, char *dst, in cmd_set_raw_get_help() 7723 cmd_set_raw_tok(cmdline_parse_token_hdr_t **hdr, in cmd_set_raw_tok() 7724 cmdline_parse_token_hdr_t **hdr_inst) in cmd_set_raw_tok()
|