summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorHarvey Harrison2008-10-29 00:04:44 +0100
committerDavid S. Miller2008-10-29 00:04:44 +0100
commit689afa7da106032a3e859ae35494f80dd6eac640 (patch)
tree470f00c94ff2f179c6b0405c4726b92a51e7110a /net/sunrpc
parentxfrm: Notify changes in UDP encapsulation via netlink (diff)
downloadkernel-qcow2-linux-689afa7da106032a3e859ae35494f80dd6eac640.tar.gz
kernel-qcow2-linux-689afa7da106032a3e859ae35494f80dd6eac640.tar.xz
kernel-qcow2-linux-689afa7da106032a3e859ae35494f80dd6eac640.zip
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 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions