]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: Add option for tracing packets
authorSean Anderson <seanga2@gmail.com>
Sun, 8 Oct 2023 01:53:12 +0000 (21:53 -0400)
committerTom Rini <trini@konsulko.com>
Sun, 5 Nov 2023 21:11:38 +0000 (16:11 -0500)
commit798962cedd7e30f95e9a3a6126276b77086a6d08
treeaa09907d4d2f1308a7796a91ed1f9d996ce37faa
parenta56e30e65f2549fd8dff32ecfe24992178414f09
net: Add option for tracing packets

Add an option to trace all packets send/received. This can be helpful when
debugging protocol issues, as the packets can then be imported into
wireshark [1] and analyzed further.

[1] https://www.wireshark.org/docs/wsug_html_chunked/ChIOImportSection.html

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/net.h
net/net.c