Searched hist:"4 aa996066ffc0dba24036c961ee38dfdfbfc061c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | vsprintf.c | diff 4aa996066ffc0dba24036c961ee38dfdfbfc061c Wed Oct 29 14:49:58 CDT 2008 Harvey Harrison <harvey.harrison@gmail.com> printk: add %I4, %I6, %i4, %i6 format specifiers
For use in printing IPv4, or IPv6 addresses in the usual way:
%i4 and %I4 are currently equivalent and print the address in dot-separated decimal x.x.x.x
%I6 prints 16-bit network order hex with colon separators: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
%i6 omits the colons.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|