Skip to content

ping: add packetsize option && optimize timestamp option in icmp pkt

Ivan Tan requested to merge Ivan/netutils:ping_extra_payload into master

Changes

    1. Add packetsize option to support variable length of icmp echo payload
    1. Optimze timestamp option in icmp pkt, which can be parsed by network sniffing tools.

Known issues

    1. When sending large(more than 1000) echo request packet, ping can't get echo reply packet.
Edited by Ivan Tan

Merge request reports