ping: add packetsize option && optimize timestamp option in icmp pkt
Changes
-
- Add packetsize option to support variable length of icmp echo payload
-
- Optimze timestamp option in icmp pkt, which can be parsed by network sniffing tools.
Known issues
-
- When sending large(more than 1000) echo request packet,
ping
can't get echo reply packet.
- When sending large(more than 1000) echo request packet,
Edited by Ivan Tan