system/ping/ping.c and system/ping6/ping6.c: Move all ping preparation work into icmp_ping system/ping/ping.c and system/ping6/ping6.c: Support -W <timeout> and -s <size> option system/ping/ping.c and system/ping6/ping6.c: Decouple the output from ping logic