[U-Boot] [RFC PATCH v3 02/11] lib: vsprintf: add IPv6 compressed format %pI6c

Simon Glass sjg at chromium.org
Mon Feb 6 15:32:32 UTC 2017


On 25 January 2017 at 01:56, Chris Packham <judge.packham at gmail.com> wrote:
> Add support for "human friendly" IPv6 address representations as
> specified in https://www.rfc-editor.org/rfc/rfc5952.txt
>
> This code has been adapted from Linux kernel with minimal modification.
>
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> ---
>
> Changes in v3: None
> Changes in v2: None
>
>  include/net6.h |  13 +++++
>  lib/vsprintf.c | 154 ++++++++++++++++++++++++++++++++++++++++++++++++---------
>  2 files changed, 144 insertions(+), 23 deletions(-)

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

Can you please add function comments for these?

ip6_addr_string()
ip6_compressed_string()


More information about the U-Boot mailing list