Home
last modified time | relevance | path

Searched refs:dstbuf (Results 1 – 21 of 21) sorted by relevance

/f-stack/dpdk/lib/librte_cmdline/
H A Dcmdline_parse_ipaddr.c99 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr() argument
104 if (!tk || !dstbuf) in cmdline_get_help_ipaddr()
111 snprintf(dstbuf, size, "IPv4"); in cmdline_get_help_ipaddr()
114 snprintf(dstbuf, size, "IPv6"); in cmdline_get_help_ipaddr()
117 snprintf(dstbuf, size, "IPv4/IPv6"); in cmdline_get_help_ipaddr()
120 snprintf(dstbuf, size, "IPv4 network"); in cmdline_get_help_ipaddr()
123 snprintf(dstbuf, size, "IPv6 network"); in cmdline_get_help_ipaddr()
126 snprintf(dstbuf, size, "IPv4/IPv6 network"); in cmdline_get_help_ipaddr()
129 snprintf(dstbuf, size, "IPaddr (bad flags)"); in cmdline_get_help_ipaddr()
H A Dcmdline_parse_string.c163 char *dstbuf, unsigned int size) in cmdline_complete_get_elt_string() argument
170 if (!tk || !dstbuf || idx < 0) in cmdline_complete_get_elt_string()
188 memcpy(dstbuf, s, len); in cmdline_complete_get_elt_string()
189 dstbuf[len] = '\0'; 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() argument
201 if (!tk || !dstbuf) in cmdline_get_help_string()
211 snprintf(dstbuf, size, ANYSTRINGS_HELP); in cmdline_get_help_string()
213 snprintf(dstbuf, size, CHOICESTRING_HELP); in cmdline_get_help_string()
215 snprintf(dstbuf, size, FIXEDSTRING_HELP); in cmdline_get_help_string()
217 snprintf(dstbuf, size, ANYSTRING_HELP); in cmdline_get_help_string()
H A Dcmdline_parse_string.h42 char *dstbuf, unsigned int size);
43 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_parse_etheraddr.c62 char *dstbuf, unsigned int size) in cmdline_get_help_etheraddr() argument
66 ret = snprintf(dstbuf, size, "Ethernet address"); in cmdline_get_help_etheraddr()
H A Dcmdline_parse_portlist.c112 char *dstbuf, unsigned int size) in cmdline_get_help_portlist() argument
115 ret = snprintf(dstbuf, size, "range of ports as 3,4-6,8-19,20"); in cmdline_get_help_portlist()
H A Dcmdline_parse_num.c320 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 Dcmdline_parse_etheraddr.h25 int cmdline_get_help_etheraddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_parse_portlist.h35 char *dstbuf, unsigned int size);
H A Dcmdline_parse_num.h42 char *dstbuf, unsigned int size);
H A Dcmdline.c42 char *dstbuf, unsigned int dstsize, in cmdline_complete_buffer() argument
46 return cmdline_complete(cl, buf, state, dstbuf, dstsize); in cmdline_complete_buffer()
H A Dcmdline_parse_ipaddr.h45 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_rdline.h60 char *dstbuf, unsigned int dstsize,
/f-stack/dpdk/examples/cmdline/
H A Dparse_obj_list.c81 int idx, char *dstbuf, unsigned int size) in complete_get_elt_obj_list() argument
100 if (dstbuf) in complete_get_elt_obj_list()
101 strlcpy(dstbuf, o->name, size); in complete_get_elt_obj_list()
108 char *dstbuf, unsigned int size) in get_help_obj_list() argument
110 snprintf(dstbuf, size, "Obj-List"); in get_help_obj_list()
H A Dparse_obj_list.h44 char *dstbuf, unsigned int size);
45 int get_help_obj_list(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size);
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dblkptr.c143 uint8_t dstbuf[BPE_PAYLOAD_SIZE]; in decode_embedded_bp() local
144 decode_embedded_bp_compressed(bp, dstbuf); in decode_embedded_bp()
146 dstbuf, buf, psize, buflen, NULL)); in decode_embedded_bp()
/f-stack/dpdk/drivers/bus/pci/linux/
H A Dpci_uio.c126 pci_get_uio_dev(struct rte_pci_device *dev, char *dstbuf, in pci_get_uio_dev() argument
171 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in pci_get_uio_dev()
179 snprintf(dstbuf, buflen, "%s/uio:uio%u", dirname, uio_num); in pci_get_uio_dev()
191 pci_mknod_uio_dev(dstbuf, uio_num) < 0) in pci_get_uio_dev()
/f-stack/freebsd/netinet/
H A Dip_icmp.c427 char dstbuf[INET_ADDRSTRLEN]; in icmp_input() local
431 inet_ntoa_r(ip->ip_dst, dstbuf), icmplen); in icmp_input()
690 char dstbuf[INET_ADDRSTRLEN]; in icmp_input() local
694 inet_ntoa_r(icp->icmp_ip.ip_dst, dstbuf), in icmp_input()
1009 char dstbuf[INET_ADDRSTRLEN]; in icmp_send() local
1013 inet_ntoa_r(ip->ip_dst, dstbuf), in icmp_send()
H A Dip_options.c204 char dstbuf[INET_ADDRSTRLEN]; in ip_dooptions() local
215 inet_ntoa_r(ip->ip_dst, dstbuf)); in ip_dooptions()
/f-stack/dpdk/drivers/bus/vmbus/linux/
H A Dvmbus_bus.c117 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()
/f-stack/dpdk/app/test/
H A Dtest_cmdline_lib.c37 __rte_unused char *dstbuf, in complete_buffer() argument
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c1930 uint8_t *srcbuf, *dstbuf; in zio_do_crypt_data() local
1934 dstbuf = cipherbuf; in zio_do_crypt_data()
1937 dstbuf = plainbuf; in zio_do_crypt_data()
1941 dstbuf, NULL, 0, iv, mac, ckey, key->zk_crypt, datalen); in zio_do_crypt_data()