netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] ipv6: Change %pI6 format to output compacted addresses?
@ 2009-08-12 15:39 Jens Rosenboom
  2009-08-13  1:33 ` Brian Haley
  2009-08-13 14:18 ` Christoph Hellwig
  0 siblings, 2 replies; 40+ messages in thread
From: Jens Rosenboom @ 2009-08-12 15:39 UTC (permalink / raw)
  To: Linux Network Developers

Currently the output looks like 2001:0db8:0000:0000:0000:0000:0000:0001
which might be compacted to 2001:db8::1. The code to do this could be
adapted from inet_ntop in glibc, which would add about 80 lines to
lib/vsprintf.c. How do you guys value the tradeoff between more readable
logging and increased kernel size?

This was already mentioned in
http://kerneltrap.org/mailarchive/linux-netdev/2008/11/25/4231684 but
noone seems to have taken up on it.


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2009-08-29  7:20 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-12 15:39 [RFC] ipv6: Change %pI6 format to output compacted addresses? Jens Rosenboom
2009-08-13  1:33 ` Brian Haley
2009-08-13 10:39   ` Joe Perches
2009-08-13 13:52     ` Jens Rosenboom
2009-08-13 15:07       ` Joe Perches
2009-08-13 14:39   ` Jens Rosenboom
2009-08-13 15:14     ` Chuck Lever
2009-08-13 16:27     ` Brian Haley
2009-08-13 18:10       ` Joe Perches
2009-08-13 18:15         ` Chuck Lever
2009-08-13 18:21           ` Joe Perches
2009-08-13 18:39             ` Chuck Lever
2009-08-13 19:05               ` Joe Perches
2009-08-13 20:24                 ` Brian Haley
2009-08-13 20:28               ` Brian Haley
2009-08-13 20:24         ` Brian Haley
2009-08-13 20:34           ` Joe Perches
2009-08-13 21:02             ` Chuck Lever
2009-08-13 21:13               ` Joe Perches
2009-08-13 23:31                 ` David Miller
2009-08-14  6:22                   ` Jens Rosenboom
2009-08-14  7:15                     ` David Miller
2009-08-14  8:15                       ` Jens Rosenboom
2009-08-14 20:12                         ` David Miller
2009-08-15 15:24                           ` [PATCH] lib/vsprintf.c: Add "%pI6c" - print pointer as compressed ipv6 address Joe Perches
2009-08-16  4:10                             ` [RFC PATCH] lib/vsprintf.c: Add struct sockaddr * "%pN<foo>" output Joe Perches
2009-08-19 14:26                               ` Chuck Lever
2009-08-19 20:44                                 ` [RFC PATCH V2] " Joe Perches
2009-08-19 22:20                                   ` Chuck Lever
2009-08-19 22:36                                     ` Joe Perches
2009-08-19 23:00                                       ` Chuck Lever
2009-08-20  4:24                                       ` Joe Perches
2009-08-20  4:29                                         ` David Miller
2009-08-17 15:18                             ` [PATCH] lib/vsprintf.c: Add "%pI6c" - print pointer as compressed ipv6 address Jens Rosenboom
2009-08-17 22:29                               ` [PATCH V2] " Joe Perches
2009-08-18 13:48                                 ` Jens Rosenboom
2009-08-29  7:20                                   ` David Miller
2009-08-14 16:26                 ` [RFC] ipv6: Change %pI6 format to output compacted addresses? Chuck Lever
2009-08-13 14:18 ` Christoph Hellwig
2009-08-13 14:30   ` Jens Rosenboom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).