Lines Matching defs:icp
1404 register struct icmp *icp;
1419 icp = (struct icmp *)(buf + hlen);
1421 icp = (struct icmp *)buf;
1423 type = icp->icmp_type;
1424 code = icp->icmp_code;
1430 pmtu = ntohs(icp->icmp_nextmtu);
1432 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
1437 && (*proto->check)((u_char *)icp, (u_char)seq))
1443 hip = &icp->icmp_ip;
1444 hiplen = ((u_char *)icp + cc) - (u_char *)hip;
1455 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip;
1459 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);