Re: [PATCHv v3] tools lib traceevent: Add support for IP address formats

From: Valdis . Kletnieks
Date: Thu Dec 18 2014 - 21:00:22 EST


On Thu, 18 Dec 2014 18:43:10 -0700, David Ahern said:
> Adds helper for following kernel formats:
> %pi4 print an IPv4 address with leading zeros
> %pI4 print an IPv4 address without leading zeros
> %pi6 print an IPv6 address without colons
> %pI6 print an IPv6 address with colons
> %pI6c print an IPv6 address with colons

%pI6c print an IPv6 address *in compressed form* with colons.

Attachment: pgpafnzKRdl8Z.pgp
Description: PGP signature