Lines Matching refs:icp
1401 register struct icmp *icp;
1416 icp = (struct icmp *)(buf + hlen);
1418 icp = (struct icmp *)buf;
1420 type = icp->icmp_type;
1421 code = icp->icmp_code;
1427 pmtu = ntohs(icp->icmp_nextmtu);
1429 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
1434 && (*proto->check)((u_char *)icp, (u_char)seq))
1440 hip = &icp->icmp_ip;
1441 hiplen = ((u_char *)icp + cc) - (u_char *)hip;
1452 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip;
1456 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);