Searched refs:data_head (Results 1 – 1 of 1) sorted by relevance
108 uint16_t data_head = 0; in esp_ping_receive() local116 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()