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