Home
last modified time | relevance | path

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

/third_party/lwip/src/core/ipv4/
Dicmp.c348 u16_t response_pkt_len; in icmp_send_response() local
354 response_pkt_len = IP_HLEN + ICMP_DEST_UNREACH_DATASIZE; in icmp_send_response()
355 if (p->tot_len < response_pkt_len) { in icmp_send_response()
356 response_pkt_len = p->tot_len; 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()
384 response_pkt_len); in icmp_send_response()