]> git.baikalelectronics.ru Git - uboot.git/commit
net: introduce packet capture support
authorRamon Fried <rfried.dev@gmail.com>
Thu, 18 Jul 2019 18:43:30 +0000 (21:43 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Sep 2019 16:37:19 +0000 (11:37 -0500)
commit5e39a1b34894cbcae435af6a0efed92d4cf93888
tree9bc58bd8fde06dc4fc92a2ecfc7270a55d95b906
parentcb9fa13b802f46d92acba5e13b8a1cfbb666d775
net: introduce packet capture support

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.dev@gmail.com>
Reviewed-by: Alex Marginean <alexm.osslist@gmail.com>
Tested-by: Alex Marginean <alexm.osslist@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/Kconfig
cmd/Makefile
cmd/pcap.c [new file with mode: 0644]
include/net/pcap.h [new file with mode: 0644]
net/Makefile
net/eth-uclass.c
net/eth_legacy.c
net/net.c
net/pcap.c [new file with mode: 0644]