Searched refs:icmphp (Results 1 – 1 of 1) sorted by relevance
62 struct icmp *icmphp; in icmp4() local73 icmphp = (struct icmp *)(igp->igm_mp->b_rptr + iphlen); in icmp4()76 if ((uintptr_t)icmphp % sizeof (uint16_t)) { in icmp4()81 if (ipv4cksum((uint16_t *)icmphp, icmp_len) != 0) { in icmp4()86 switch (icmphp->icmp_type) { in icmp4()88 if (icmphp->icmp_code != ICMP_REDIRECT_HOST) in icmp4()91 inet_ntoa(icmphp->icmp_gwaddr)); in icmp4()92 if (ipv4_route(IPV4_ADD_ROUTE, RT_HOST, &icmphp->icmp_ip.ip_dst, in icmp4()93 &icmphp->icmp_gwaddr) != 0) { in icmp4()95 inet_ntoa(icmphp->icmp_ip.ip_dst), errno); in icmp4()[all …]