Skip to content
Commit 967a91dc authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: icmp: Allow to autogenerate Echo Request payload



Let net_icmpv4_send_echo_request() and net_icmpv6_send_echo_request()
autogenerate Echo Request payload, in case data length is specified but
no data pointer provided. The autogenerated payload includes timestamp
(if payload size permits) so that the turnround time can be calculated.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 1ad63d9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment