aboutsummaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorRamon Fried <rfried.dev@gmail.com>2019-07-18 21:43:30 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-09-04 11:37:19 -0500
commit3eaac6307dff1e281f89fece521dc8a14078bf61 (patch)
tree9bc58bd8fde06dc4fc92a2ecfc7270a55d95b906 /cmd/Kconfig
parent1bad991205780cd9f7ebdbdeb0d3a7d118f9f247 (diff)
downloadu-boot-3eaac6307dff1e281f89fece521dc8a14078bf61.zip
u-boot-3eaac6307dff1e281f89fece521dc8a14078bf61.tar.gz
u-boot-3eaac6307dff1e281f89fece521dc8a14078bf61.tar.bz2
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>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 05872fa..98647f5 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1339,6 +1339,13 @@ config BOOTP_NTPSERVER
bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
depends on CMD_BOOTP
+config CMD_PCAP
+ bool "pcap capture"
+ help
+ Selecting this will allow capturing all Ethernet packets and store
+ them in physical memory in a PCAP formated file,
+ later to be analyzed by PCAP reader application (IE. WireShark).
+
config BOOTP_PXE
bool "Send PXE client arch to BOOTP/DHCP server"
default y