DPDK  1.6.0r2
Functions
rte_hexdump.h File Reference

Functions

void rte_hexdump (const char *title, const void *buf, unsigned int len)
void rte_memdump (const char *title, const void *buf, unsigned int len)

Detailed Description

Simple API to dump out memory in a special hex format.

Function Documentation

void rte_hexdump ( const char *  title,
const void *  buf,
unsigned int  len 
)

Dump out memory in a special hex dump format.

Parameters
titleIf not NULL this string is printed as a header to the output.
bufThis is the buffer address to print out.
lenThe number of bytes to dump out
Returns
None.
void rte_memdump ( const char *  title,
const void *  buf,
unsigned int  len 
)

Dump out memory in a hex format with colons between bytes.

Parameters
titleIf not NULL this string is printed as a header to the output.
bufThis is the buffer address to print out.
lenThe number of bytes to dump out
Returns
None.