diff options
| author | Harvey Harrison <[email protected]> | 2008-10-29 19:49:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-10-29 19:49:58 +0000 |
| commit | 4aa996066ffc0dba24036c961ee38dfdfbfc061c (patch) | |
| tree | 61af96e4806e71048b981936b54abdb5506e950a /net/ipv4/tcp_input.c | |
| parent | udp: introduce sk_for_each_rcu_safenext() (diff) | |
| download | kernel-4aa996066ffc0dba24036c961ee38dfdfbfc061c.tar.gz kernel-4aa996066ffc0dba24036c961ee38dfdfbfc061c.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
