summaryrefslogtreecommitdiff
path: root/net/ipv4/ping.c
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-05-31 19:05:48 +0400
committerDavid S. Miller <davem@davemloft.net>2013-06-04 23:56:14 +0400
commit17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205 (patch)
tree065a227c3cb4987c4cdc2442a41892ceb60ad509 /net/ipv4/ping.c
parent75698b17ac3b681f4345a9be48b147381d17266d (diff)
downloadlinux-17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205.tar.xz
net: ipv6: Unify {raw,udp}6_sock_seq_show.
udp6_sock_seq_show and raw6_sock_seq_show are identical, except the UDP version displays ports and the raw version displays the protocol. Refactor most of the code in these two functions into a new common ip6_dgram_sock_seq_show function, in preparation for using it to display ICMPv6 sockets as well. Also reduce the indentation in parts of include/net/transp_v6.h to improve readability. 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>
Diffstat (limited to 'net/ipv4/ping.c')
0 files changed, 0 insertions, 0 deletions