]> git.baikalelectronics.ru Git - uboot.git/commit
net: ping6: Add ping6 command
authorViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Fri, 2 Dec 2022 09:18:08 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Dec 2022 17:47:16 +0000 (12:47 -0500)
commitf1b70fa856943920617a25bb3de37d93567523f5
tree6eb7a6f8caca4976f1f78afa9f229b41e704f67b
parentf80a07f90885c443806b22975b8525683cd24fa6
net: ping6: Add ping6 command

Implement ping6 command to ping hosts using IPv6. It works the same way as
an ordinary ping command. There is no ICMP request so it is not possible
to ping our host. This patch adds options in Kconfig and Makefile to
build ping6 command.

Series-changes: 3
- Added structures and functions descriptions
- Added to ping6_receive() return value instead of void

Series-changes: 4
- Fixed structures and functions description style

Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/net.c
include/net.h
include/net6.h
net/Makefile
net/net.c
net/net6.c
net/ping6.c [new file with mode: 0644]