[PATCH 01/17] net: ipv6: Add IPv6 basic primitives

Simon Glass sjg at chromium.org
Wed Sep 7 23:10:57 CEST 2022


Hi Viacheslav,

On Tue, 6 Sept 2022 at 09:10, Viacheslav Mitrofanov
<v.v.mitrofanov at yadro.com> wrote:
>
> This patch is a collection of basic primitives that are prerequisite for
> further IPv6 implementation.
>
> There are structures definition such as IPv6 header, UDP header
> (for TFTP), ICMPv6 header. There are auxiliary defines such as protocol
> codes, padding, struct size and etc. Also here are functions prototypes
> and its empty implementation that will be used as API for further patches.
> Here are variables declaration such as IPv6 address of our host,
> gateway, ipv6 server.
>
> Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov at yadro.com>
> ---
>  include/net6.h | 369 +++++++++++++++++++++++++++++++++++++++++++++++++
>  net/net6.c     |  31 +++++
>  2 files changed, 400 insertions(+)
>  create mode 100644 include/net6.h
>  create mode 100644 net/net6.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>

BTW the comment style changed a few years ago - the @param is gone and
we now use Return(s) instead of @return

Regards,
Simon


More information about the U-Boot mailing list