Hi Ramon, On Fri, Jun 21, 2019 at 10:04 PM Ramon Fried <rfried....@gmail.com> wrote: > > Add support for capturing ethernet packets and storing > them in memory in PCAP(2.4) format, later to be analyzed by > any PCAP viewer software (IE. Wireshark) > > This feature greatly assist debugging network issues such > as detecting dropped packets, packet corruption etc. > > Signed-off-by: Ramon Fried <rfried....@gmail.com> > Reviewed-by: Alex Marginean <alexm.ossl...@gmail.com> > Tested-by: Alex Marginean <alexm.ossl...@gmail.com> > --- > v2: Fix type assignmnet to header.ts_sec
Could you please add functionality as Alex suggested? Besides what Aleix mentioned, can you also add the sub-function in the pcap command to store the captured packets from memory to file system? > include/net.h | 29 ++++++++++++++++++ > net/Kconfig | 22 ++++++++++++++ > net/Makefile | 1 + > net/net.c | 11 +++++++ > net/pcap.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 146 insertions(+) > create mode 100644 net/pcap.c > Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot