OS Manuals

/usr/bin/xdpdump

Utilities and example programs for use with XDP

From xdp-tools 1.6.3-r4 (os), captured 2026-11-05 by running xdpdump --help (exit 1). permalink

Usage: xdpdump [options]

 XDPDump tool to dump network traffic

Options:
     --rx-capture <mode>          Capture point for the rx direction (valid values: entry,exit)
 -D, --list-interfaces            Print the list of available interfaces
     --load-xdp-mode <mode>       Mode used for --load-xdp-mode, default native (valid values: native,skb,hw,unspecified)
     --load-xdp-program           Load XDP trace program if no XDP program is loaded
 -i, --interface <ifname>         Name of interface to capture on
     --perf-wakeup <events>       Wake up xdpdump every <events> packets
 -p, --program-names <prog>       Specific program to attach to
 -P, --promiscuous-mode           Open interface in promiscuous mode
 -s, --snapshot-length <snaplen>  Minimum bytes of packet to capture
     --use-pcap                   Use legacy pcap format for XDP traces
 -w, --write <file>               Write raw packets to pcap file
 -x, --hex                        Print the full packet in hex
 -v, --verbose                    Enable verbose logging (-vv: more verbose)
     --version                    Display version information
 -h, --help                       Show this help
Options (15)
OptionDescriptionSource
--rx-capture modeCapture point for the rx direction (valid values: entry,exit)help
-D, --list-interfacesPrint the list of available interfaceshelp
--load-xdp-mode modeMode used for --load-xdp-mode, default native (valid values: native,skb,hw,unspecified)help
--load-xdp-programLoad XDP trace program if no XDP program is loadedhelp
-i, --interface ifnameName of interface to capture onhelp
--perf-wakeup eventsWake up xdpdump every <events> packetshelp
-p, --program-names progSpecific program to attach tohelp
-P, --promiscuous-modeOpen interface in promiscuous modehelp
-s, --snapshot-length snaplenMinimum bytes of packet to capturehelp
--use-pcapUse legacy pcap format for XDP traceshelp
-w, --write fileWrite raw packets to pcap filehelp
-x, --hexPrint the full packet in hexhelp
-v, --verboseEnable verbose logging (-vv: more verbose)help
--versionDisplay version informationhelp
-h, --helpShow this helphelp
Examples (6) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.