[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081027.165556.30975206.davem@davemloft.net>
Date: Mon, 27 Oct 2008 16:55:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: harvey.harrison@...il.com
Cc: johannes@...solutions.net, anders@...uras.de,
netdev@...r.kernel.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCHv3] printk: add %pM format specifier for MAC
addresses
From: Harvey Harrison <harvey.harrison@...il.com>
Date: Mon, 27 Oct 2008 16:14:14 -0700
> Did you happen to have a preference with regard to the specifier for
> IPv6 addresses:
>
> I was thinking of using %pI6 to replace NIP6() and NIP6_FMT and using
> %#pI6 for NIP6_SEQFMT.
>
> On the IPv4 side, maybe use %pI4 for network endian NIPQUAD() and NIPQUAD_FMT
> and then %#pI4 for host-endian HIQUAD(), as displaying the IPv4 address without
> the periods isn't useful?
>
> What do you think of that?
I'm ok with the '#' modifier but remind me again what's wrong with
using plain %p4 and %p6?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists