Searched refs:ricmp (Results 1 – 1 of 1) sorted by relevance
255 struct icmp *ricmp; in do_trace() local257 ricmp = (struct icmp *) ((char*)rcv_pkt + (rcv_pkt->ip_hl << 2)); in do_trace()258 if (ricmp->icmp_code == ICMP_UNREACH_NEEDFRAG) in do_trace()259 pmtu = ntohs(ricmp->icmp_nextmtu); in do_trace()261 if ((ricmp->icmp_type == ICMP_TIMXCEED in do_trace()262 && ricmp->icmp_code == ICMP_TIMXCEED_INTRANS) in do_trace()263 || ricmp->icmp_type == ICMP_UNREACH in do_trace()264 || ricmp->icmp_type == ICMP_ECHOREPLY) { in do_trace()268 struct ip *hip = &ricmp->icmp_ip; in do_trace()275 icmp_res = (ricmp->icmp_type == ICMP_TIMXCEED ? -1 : in do_trace()[all …]