Home
last modified time | relevance | path

Searched refs:icmp_echo (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/net/lib/shell/
Dping.c57 struct net_icmpv6_echo_req *icmp_echo; in handle_ipv6_echo_reply() local
61 icmp_echo = (struct net_icmpv6_echo_req *)net_pkt_get_data(pkt, in handle_ipv6_echo_reply()
63 if (icmp_echo == NULL) { in handle_ipv6_echo_reply()
67 net_pkt_skip(pkt, sizeof(*icmp_echo)); in handle_ipv6_echo_reply()
96 ntohs(icmp_echo->sequence), in handle_ipv6_echo_reply()
103 if (ntohs(icmp_echo->sequence) == ping_ctx.count) { in handle_ipv6_echo_reply()
138 struct net_icmpv4_echo_req *icmp_echo; in handle_ipv4_echo_reply() local
141 icmp_echo = (struct net_icmpv4_echo_req *)net_pkt_get_data(pkt, in handle_ipv4_echo_reply()
143 if (icmp_echo == NULL) { in handle_ipv4_echo_reply()
147 net_pkt_skip(pkt, sizeof(*icmp_echo)); in handle_ipv4_echo_reply()
[all …]