Lines Matching defs:icp
1356 register struct icmp *icp;
1371 icp = (struct icmp *)(buf + hlen);
1373 icp = (struct icmp *)buf;
1375 type = icp->icmp_type;
1376 code = icp->icmp_code;
1381 pmtu = ntohs(icp->icmp_nextmtu);
1385 && (*proto->check)((u_char *)icp, (u_char)seq))
1391 hip = &icp->icmp_ip;
1392 hiplen = ((u_char *)icp + cc) - (u_char *)hip;
1403 u_int32_t *lp = (u_int32_t *)&icp->icmp_ip;
1407 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);