Lines Matching defs:icp
1322 register struct icmp *icp;
1337 icp = (struct icmp *)(buf + hlen);
1339 icp = (struct icmp *)buf;
1341 type = icp->icmp_type;
1342 code = icp->icmp_code;
1348 pmtu = ntohs(icp->icmp_nextmtu);
1350 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
1355 && (*proto->check)((u_char *)icp, (u_char)seq))
1361 hip = &icp->icmp_ip;
1362 hiplen = ((u_char *)icp + cc) - (u_char *)hip;
1373 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip;
1377 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);