Lines Matching refs:ih
91 struct icmphdr *ih = (void *)toybuf;
211 memset(ih, 0, sizeof(*ih));
212 ih->type = (ai->ai_family == AF_INET) ? 8 : 128;
213 ih->un.echo.id = getpid();
214 ih->un.echo.sequence = ++seq;
215 if (TT.s >= 4) *(unsigned *)(ih+1) = tnow;
217 ih->checksum = 0;
218 ih->checksum = pingchksum((void *)toybuf, TT.s+sizeof(*ih));
219 xsendto(TT.sock, toybuf, TT.s+sizeof(*ih), TT.sa);
240 TT.fugit += (pkttime = millitime()-*(unsigned *)(ih+1));
248 ih->un.echo.sequence, 0);
249 if (len >= sizeof(*ih)+4)