Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dicmp.c86 struct icmp_echo_hdr *iecho; in icmp_input()
141 if (p->tot_len < sizeof(struct icmp_echo_hdr)) { in icmp_input()
173 if (r->len < hlen + sizeof(struct icmp_echo_hdr)) { in icmp_input()
207 iecho = (struct icmp_echo_hdr *)p->payload; in icmp_input()
345 struct icmp_echo_hdr *icmphdr; in icmp_send_response()
360 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + response_pkt_len, PBUF_RAM); in icmp_send_response()
367 (q->len >= (sizeof(struct icmp_echo_hdr) + response_pkt_len))); in icmp_send_response()
376 icmphdr = (struct icmp_echo_hdr *)q->payload; in icmp_send_response()
383 SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload, in icmp_send_response()
/third_party/lwip/src/include/lwip/prot/
Dicmp.h69 struct icmp_echo_hdr { struct