Searched defs:ICMP_MAXDATALEN (Results 1 - 2 of 2) sorted by relevance

/external/qemu/slirp/
H A Dip_icmp.c202 #define ICMP_MAXDATALEN (IP_MSS-28) macro
244 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN;
261 else if(s_ip_len>ICMP_MAXDATALEN) /* maximum size */
262 s_ip_len=ICMP_MAXDATALEN;
283 if(message_len>ICMP_MAXDATALEN) message_len=ICMP_MAXDATALEN;
314 #undef ICMP_MAXDATALEN macro
/external/qemu/slirp-android/
H A Dip_icmp.c204 #define ICMP_MAXDATALEN (IP_MSS-28) macro
246 new_m_size=sizeof(struct ip )+ICMP_MINLEN+msrc->m_len+ICMP_MAXDATALEN;
263 else if(s_ip_len>ICMP_MAXDATALEN) /* maximum size */
264 s_ip_len=ICMP_MAXDATALEN;
285 if(message_len>ICMP_MAXDATALEN) message_len=ICMP_MAXDATALEN;
316 #undef ICMP_MAXDATALEN macro

Completed in 13 milliseconds