Messages in this thread | | | Subject | Re: [RFC PATCHv3] printk: add %pM format specifier for MAC addresses | From | Joe Perches <> | Date | Mon, 27 Oct 2008 16:48:25 -0700 |
| |
On Mon, 2008-10-27 at 16:14 -0700, Harvey Harrison wrote: > 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?
HIPQUAD is horrible and should disappear. Just use htonl first.
I think just %p4 %p6 %#p6 for the NIP6_SEQFMT uses.
| |