[PATCH 11/17] net: ping6: Add ping6 command

Simon Glass sjg at chromium.org
Fri Sep 9 16:44:51 CEST 2022


On Thu, 8 Sept 2022 at 05:59, Viacheslav Mitrofanov
<v.v.mitrofanov at 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 at 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 at chromium.org>


More information about the U-Boot mailing list