Searched refs:icmp_echo_hdr (Results 1 – 3 of 3) sorted by relevance
83 struct icmp_echo_hdr *iecho; in icmp_input()133 if (p->tot_len < sizeof(struct icmp_echo_hdr)) { in icmp_input()162 (r->len >= hlen + sizeof(struct icmp_echo_hdr))); in icmp_input()189 iecho = (struct icmp_echo_hdr *)p->payload; in icmp_input()292 struct icmp_echo_hdr *icmphdr; in icmp_send_response()296 q = pbuf_alloc(PBUF_IP, sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE, in icmp_send_response()303 (q->len >= (sizeof(struct icmp_echo_hdr) + IP_HLEN + ICMP_DEST_UNREACH_DATASIZE))); in icmp_send_response()312 icmphdr = (struct icmp_echo_hdr *)q->payload; in icmp_send_response()319 SMEMCPY((u8_t *)q->payload + sizeof(struct icmp_echo_hdr), (u8_t *)p->payload, in icmp_send_response()
79 struct icmp_echo_hdr { struct
318 struct icmp_echo_hdr *icmphdr; in snprintf_icmp_hdr()322 icmphdr = (struct icmp_echo_hdr *)((void *)iphdr + (IPH_HL(iphdr) << 2)); in snprintf_icmp_hdr()