]> git.dujemihanovic.xyz Git - u-boot.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)
commit3eaac6307dff1e281f89fece521dc8a14078bf61
tree9bc58bd8fde06dc4fc92a2ecfc7270a55d95b906
parent1bad991205780cd9f7ebdbdeb0d3a7d118f9f247
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]