Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/lwip/apps/ping/
Dping_sock.c108 uint16_t data_head = 0; in esp_ping_receive() local
116 data_head = (uint16_t)(sizeof(struct ip_hdr) + sizeof(struct icmp_echo_hdr)); in esp_ping_receive()
124 data_head = (uint16_t)(sizeof(struct ip6_hdr) + sizeof(struct icmp6_echo_hdr)); in esp_ping_receive()
127 if (len >= data_head) { in esp_ping_receive()
134 … ep->recv_len = lwip_ntohs(IPH_LEN(iphdr)) - data_head; // The data portion of ICMP in esp_ping_receive()