Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/lwip/apps/ping/
Dping_sock.c62 uint32_t icmp_pkt_size; member
84 ep->packet_hdr->chksum = inet_chksum(ep->packet_hdr, ep->icmp_pkt_size); in esp_ping_send()
87 ssize_t sent = sendto(ep->sock, ep->packet_hdr, ep->icmp_pkt_size, 0, in esp_ping_send()
90 if (sent != (ssize_t)ep->icmp_pkt_size) { in esp_ping_send()
244 ep->icmp_pkt_size = sizeof(struct icmp_echo_hdr) + config->data_size; in esp_ping_new_session()
245 ep->packet_hdr = mem_calloc(1, ep->icmp_pkt_size); in esp_ping_new_session()