net: ipv4: make the ping /proc code AF-independent
authorLorenzo Colitti <lorenzo@google.com>
Fri, 31 May 2013 15:05:49 +0000 (15:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 19:56:14 +0000 (12:56 -0700)
Introduce a ping_seq_afinfo structure (similar to its UDP
equivalent) and use it to make some of the ping /proc functions
address-family independent. Rename the remaining ping /proc
functions from ping_* to ping_v4_*.

Compiles and displays reasonable results with CONFIG_IPV6={n,m,y}

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found