summaryrefslogtreecommitdiff
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2022-04-13 10:22:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-04-19 09:11:04 +0200
commit2bf8244b52438479f6d3c082252e36094c7cd548 (patch)
tree7ee9fa100f7b87098a231166f3f4dd8d93959cdb /commands/Kconfig
parentf50be0f9b97774191fef73585a4454f73b2ded67 (diff)
downloadbarebox-2bf8244b52438479f6d3c082252e36094c7cd548.tar.gz
add ethlog command
It is kind of tcpdump or tshark for barebox. Instead of starting application it will let barebox dump everything to the console by still allowing to use other application. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220413082205.429509-15-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index caef1e8fb5..c5505321cf 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1272,6 +1272,14 @@ config CMD_IP_ROUTE_GET
be shown on the command line or alternatively a variable is set to
the result.
+config CMD_ETHLOG
+ tristate
+ prompt "ethlog"
+ help
+ log ethernet traffic.
+
+ Usage: ethlog [-r] [DEVICENAME]
+
# end Network commands
endmenu