lkml.org 
[lkml]   [2008]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSat, 5 Jul 2008 13:33:29 +0200 (CEST)
FromJan Engelhardt <>
SubjectRe: the printk problem

On Saturday 2008-07-05 00:01, Andrew Morton wrote:
>
>We don't know how much interest there would be in churning NIPQUAD from
>the net guys. Interestingly, there's also %C (wint_t) which is a
>32-bit quantity. So we could just go and say "%C prints an ipv4
>address" and be done with it. But there's no way of doing that for
>ipv6 addresses so things would become asymmetrical there.

struct in6_addr src;
printk("Source address: %p{ipv6}\n", &src);
How about %p{feature}?

\
 
 \ /
  Last update: 2008-07-05 13:35    [from the cache]
©2003-2010