DPDK 25.03.0-rc0
|
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | rte_hexdump (FILE *f, const char *title, const void *buf, unsigned int len) |
void | rte_memdump (FILE *f, const char *title, const void *buf, unsigned int len) |
Simple API to dump out memory in a special hex format.
Definition in file rte_hexdump.h.
void rte_hexdump | ( | FILE * | f, |
const char * | title, | ||
const void * | buf, | ||
unsigned int | len | ||
) |
Dump out memory in a special hex dump format.
f | A pointer to a file for output. |
title | If not NULL this string is printed as a header to the output. |
buf | This is the buffer address to print out. |
len | The number of bytes to dump out. |
void rte_memdump | ( | FILE * | f, |
const char * | title, | ||
const void * | buf, | ||
unsigned int | len | ||
) |
Dump out memory in a hex format with colons between bytes.
f | A pointer to a file for output. |
title | If not NULL this string is printed as a header to the output. |
buf | This is the buffer address to print out. |
len | The number of bytes to dump out. |