[PATCH] net: Add option for tracing packets

Simon Glass sjg at google.com
Tue Oct 10 16:57:30 CEST 2023


On Sat, 7 Oct 2023 at 20:01, Sean Anderson <seanga2 at gmail.com> wrote:
>
> 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 at gmail.com>
> ---
>
>  include/net.h | 4 ++++
>  net/net.c     | 3 +++
>  2 files changed, 7 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list