1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
5 #ifndef _RTE_HEXDUMP_H_
6 #define _RTE_HEXDUMP_H_
10 * Simple API to dump out memory in a special hex format.
20 * Dump out memory in a special hex dump format.
23 * A pointer to a file for output
25 * If not NULL this string is printed as a header to the output.
27 * This is the buffer address to print out.
29 * The number of bytes to dump out
35 rte_hexdump(FILE *f, const char * title, const void * buf, unsigned int len);
38 * Dump out memory in a hex format with colons between bytes.
41 * A pointer to a file for output
43 * If not NULL this string is printed as a header to the output.
45 * This is the buffer address to print out.
47 * The number of bytes to dump out
53 rte_memdump(FILE *f, const char * title, const void * buf, unsigned int len);
60 #endif /* _RTE_HEXDUMP_H_ */