Lines Matching defs:icp
1290 register struct icmp *icp;
1305 icp = (struct icmp *)(buf + hlen);
1307 icp = (struct icmp *)buf;
1309 type = icp->icmp_type;
1310 code = icp->icmp_code;
1316 pmtu = ntohs(icp->icmp_nextmtu);
1318 pmtu = ntohs(((struct my_pmtu *)&icp->icmp_void)->ipm_nextmtu);
1323 && (*proto->check)((u_char *)icp, (u_char)seq))
1329 hip = &icp->icmp_ip;
1330 hiplen = ((u_char *)icp + cc) - (u_char *)hip;
1341 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip;
1345 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);