rte_hexdump.h(3)
π NAME π
rte_hexdump.h β that's the page, bestie. Section 3 of the Library Functions Manual, and literally the entire NAME section is just that header file. Short. Iconic. No notes. π
πΈ SYNOPSIS πΈ
#include <stdio.h>
β¨ 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)
Two functions. That's it. That's the whole menu and honestly they ate. π¦
π DETAILED DESCRIPTION π
Okay so the vibe here is simple: this is a simple API to dump out memory in a special hex format. Like, when you're staring at a buffer going "what even is in there bestie π", this is the lil shortcut that shows you.
Definition in file rte_hexdump.h.
π FUNCTION DOCUMENTATION π
π§ void rte_hexdump (FILE * f, const char * title, const void * buf, unsigned int len)
Dump out memory in a special hex dump format. That's the whole job, and it does it flawlessly, no cap. β¨
Parameters
fβ a pointer to a file for output. Like, wherever you want the dump to go, send it there. πtitleβ if it's notNULL, this string gets printed as a header to the output. If it isNULL, no header, no drama, just bytes. πbufβ this is the buffer address to print out. The actual memory, the main character. πlenβ the number of bytes to dump out. Byte count. That's how much ofbufyou're seeing. π
π 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. Yeah. Colons. Little : separators between every byte, so cute, so readable. π«Ά
Parameters
fβ a pointer to a file for output. Point it somewhere and it writes there. πtitleβ if notNULL, this string is printed as a header to the output.NULLmeans skip the header entirely. βbufβ this is the buffer address to print out. Hand over the pointer, get the hex. π₯lenβ the number of bytes to dump out. Pick your length, girl. π¦
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. It literally wrote itself, which is the most main character energy of all. πβ¨
And that's the whole page, bestie! This was rte_hexdump.h(3) straight outta the DPDK docs, Version 25.11.3 β thanks for reading, mwah. ππ
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms