summaryrefslogtreecommitdiffstats
path: root/include/net/ping.h
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-05-31 17:05:48 +0200
committerDavid S. Miller <davem@davemloft.net>2013-06-04 21:56:14 +0200
commit17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205 (patch)
tree065a227c3cb4987c4cdc2442a41892ceb60ad509 /include/net/ping.h
parentClean up indentation in net/ipv6/transp_v6.h (diff)
downloadlinux-17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205.tar.xz
linux-17ef66afc0bdbbdc5c526db5e24bdd2dc3df1205.zip
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 'include/net/ping.h')
0 files changed, 0 insertions, 0 deletions