net: ipv6: Implement /proc/net/icmp6.

Linux Kernel / Linux Kernel - Lorenzo Colitti [google.com] - 4 June 2013 14:56 UTC

The format is based on /proc/net/icmp and /proc/net/{udp,raw}6.

Compiles and displays reasonable results with CONFIG_IPV6={n,m,y} Couldn't figure out how to test without CONFIG_PROC_FS enabled.

d862e54 net: ipv6: Implement /proc/net/icmp6.
include/net/ping.h | 8 +++++
net/ipv4/ping.c | 21 ++++++-----
net/ipv6/ping.c | 102 ++++++++++++++++++++++++++++++++++++++++------------
3 files changed, 99 insertions(+), 32 deletions(-)

Upstream: git.kernel.org


  • Share