Lines Matching defs:icp
137 struct icmphdr *icp = (struct icmphdr *) packet;
226 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
227 if( icp->type == ICMP_TIMESTAMPREPLY &&
228 icp->un.echo.id == id && icp->un.echo.sequence >= seqno0 &&
229 icp->un.echo.sequence <= seqno) {
230 if (acked < icp->un.echo.sequence)
231 acked = icp->un.echo.sequence;
235 sendtime = ntohl(*(__u32*)(icp+1));
245 histime = ntohl(((__u32*)(icp+1))[1]);
314 struct icmphdr *icp = (struct icmphdr *) packet;
406 icp = (struct icmphdr *)(packet + (ip->ihl << 2));
407 if (icp->type == ICMP_ECHOREPLY &&
409 icp->un.echo.id == id &&
410 icp->un.echo.sequence >= seqno0 &&
411 icp->un.echo.sequence <= seqno) {
415 if (acked < icp->un.echo.sequence)
416 acked = icp->un.echo.sequence;