[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081028.160501.153997657.davem@davemloft.net>
Date: Tue, 28 Oct 2008 16:05:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: harvey.harrison@...il.com
Cc: netdev@...r.kernel.org, joe@...ches.com
Subject: Re: [PATCH 1/6] printk: add %p6 format specifier for IPv6 addresses
From: Harvey Harrison <harvey.harrison@...il.com>
Date: Tue, 28 Oct 2008 12:53:32 -0700
> Takes a pointer to a IPv6 address and formats it in the usual
> colon-separated hex format:
> xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
>
> Each 16 bit word is printed in network-endian byteorder.
>
> %#p6 is also supported and will omit the colons.
>
> %p6 is a replacement for NIP6_FMT and NIP6()
> %#p6 is a replacement for NIP6_SEQFMT and NIP6()
>
> Note that NIP6() took a struct in6_addr whereas this takes a pointer
> to a struct in6_addr.
>
> Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
Applied, thanks Harvey.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists