
9 Sep
2022
9 Sep
'22
4:44 p.m.
On Thu, 8 Sept 2022 at 05:59, Viacheslav Mitrofanov v.v.mitrofanov@yadro.com wrote:
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
cmd/Kconfig | 7 +++ cmd/net.c | 26 +++++++++++ include/net.h | 4 +- include/net6.h | 26 +++++++++++ net/Makefile | 1 + net/net.c | 13 ++++++ net/net6.c | 4 ++ net/ping6.c | 118 +++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 197 insertions(+), 2 deletions(-) create mode 100644 net/ping6.c
Reviewed-by: Simon Glass sjg@chromium.org