| /dpdk/lib/cmdline/ |
| H A D | cmdline_parse_ipaddr.c | 93 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr() argument 98 if (!tk || !dstbuf) in cmdline_get_help_ipaddr() 105 snprintf(dstbuf, size, "IPv4"); in cmdline_get_help_ipaddr() 108 snprintf(dstbuf, size, "IPv6"); in cmdline_get_help_ipaddr() 111 snprintf(dstbuf, size, "IPv4/IPv6"); in cmdline_get_help_ipaddr() 114 snprintf(dstbuf, size, "IPv4 network"); in cmdline_get_help_ipaddr() 117 snprintf(dstbuf, size, "IPv6 network"); in cmdline_get_help_ipaddr() 120 snprintf(dstbuf, size, "IPv4/IPv6 network"); in cmdline_get_help_ipaddr() 123 snprintf(dstbuf, size, "IPaddr (bad flags)"); in cmdline_get_help_ipaddr()
|
| H A D | cmdline_parse_string.c | 159 char *dstbuf, unsigned int size) in cmdline_complete_get_elt_string() argument 166 if (!tk || !dstbuf || idx < 0) in cmdline_complete_get_elt_string() 184 memcpy(dstbuf, s, len); in cmdline_complete_get_elt_string() 185 dstbuf[len] = '\0'; in cmdline_complete_get_elt_string() 190 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_string() argument 197 if (!tk || !dstbuf) in cmdline_get_help_string() 207 snprintf(dstbuf, size, ANYSTRINGS_HELP); in cmdline_get_help_string() 209 snprintf(dstbuf, size, CHOICESTRING_HELP); in cmdline_get_help_string() 211 snprintf(dstbuf, size, FIXEDSTRING_HELP); in cmdline_get_help_string() 213 snprintf(dstbuf, size, ANYSTRING_HELP); in cmdline_get_help_string()
|
| H A D | cmdline_parse_string.h | 42 char *dstbuf, unsigned int size); 43 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_etheraddr.c | 56 char *dstbuf, unsigned int size) in cmdline_get_help_etheraddr() argument 60 ret = snprintf(dstbuf, size, "Ethernet address"); in cmdline_get_help_etheraddr()
|
| H A D | cmdline_parse_portlist.c | 109 char *dstbuf, unsigned int size) in cmdline_get_help_portlist() argument 112 ret = snprintf(dstbuf, size, "range of ports as 3,4-6,8-19,20"); in cmdline_get_help_portlist()
|
| H A D | cmdline_parse_num.c | 320 cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size) in cmdline_get_help_num() argument 334 ret = strlcpy(dstbuf, num_help[nd.type], size); in cmdline_get_help_num() 337 dstbuf[size-1] = '\0'; in cmdline_get_help_num()
|
| H A D | cmdline.c | 35 char *dstbuf, unsigned int dstsize, in cmdline_complete_buffer() argument 39 return cmdline_complete(cl, buf, state, dstbuf, dstsize); in cmdline_complete_buffer()
|
| H A D | cmdline_parse_etheraddr.h | 25 int cmdline_get_help_etheraddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_portlist.h | 35 char *dstbuf, unsigned int size);
|
| H A D | cmdline_parse_num.h | 42 char *dstbuf, unsigned int size);
|
| H A D | cmdline_rdline.h | 46 char *dstbuf, unsigned int dstsize,
|
| H A D | cmdline_parse_ipaddr.h | 45 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| /dpdk/examples/cmdline/ |
| H A D | parse_obj_list.c | 79 int idx, char *dstbuf, unsigned int size) in complete_get_elt_obj_list() argument 98 if (dstbuf) in complete_get_elt_obj_list() 99 strlcpy(dstbuf, o->name, size); in complete_get_elt_obj_list() 106 char *dstbuf, unsigned int size) in get_help_obj_list() argument 108 snprintf(dstbuf, size, "Obj-List"); in get_help_obj_list()
|
| H A D | parse_obj_list.h | 44 char *dstbuf, unsigned int size); 45 int get_help_obj_list(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size);
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_em.c | 360 char dstbuf[INET6_ADDRSTRLEN]; in populate_ipv4_flow_into_table() local 393 inet_ntop(AF_INET, &dst, dstbuf, sizeof(dstbuf)), in populate_ipv4_flow_into_table() 412 char dstbuf[INET6_ADDRSTRLEN]; in populate_ipv6_flow_into_table() local 444 dstbuf, sizeof(dstbuf)), in populate_ipv6_flow_into_table()
|
| /dpdk/drivers/bus/pci/linux/ |
| H A D | pci_uio.c | 136 pci_get_uio_dev(struct rte_pci_device *dev, char *dstbuf, in pci_get_uio_dev() argument 181 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in pci_get_uio_dev() 189 snprintf(dstbuf, buflen, "%s/uio:uio%u", dirname, uio_num); in pci_get_uio_dev() 201 pci_mknod_uio_dev(dstbuf, uio_num) < 0) in pci_get_uio_dev()
|
| /dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_bus.c | 117 char *dstbuf, size_t buflen) in vmbus_get_uio_dev() argument 144 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in vmbus_get_uio_dev()
|
| /dpdk/app/test/ |
| H A D | test_cmdline_lib.c | 42 __rte_unused char *dstbuf, in complete_buffer() argument
|