aboutsummaryrefslogtreecommitdiffstats
path: root/lib/show_mem.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-28 19:04:44 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-28 19:04:44 -0400
commit689afa7da106032a3e859ae35494f80dd6eac640 (patch)
tree470f00c94ff2f179c6b0405c4726b92a51e7110a /lib/show_mem.c
parent3a2dfbe8acb154905fdc2fd03ec56df42e6c4cc4 (diff)
printk: add %p6 format specifier for IPv6 addresses
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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions