Lines Matching defs:oicp
133 struct icmphdr *oicp = (struct icmphdr *) opacket;
166 oicp->type = ICMP_TIMESTAMP;
167 oicp->code = 0;
168 oicp->checksum = 0;
169 oicp->un.echo.id = id;
170 ((__u32*)(oicp+1))[0] = 0;
171 ((__u32*)(oicp+1))[1] = 0;
172 ((__u32*)(oicp+1))[2] = 0;
187 oicp->un.echo.sequence = ++seqno;
188 oicp->checksum = 0;
191 *(__u32*)(oicp+1) = htonl((tv1.tv_sec % (24*60*60)) * 1000
193 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp) + 12);
195 count = sendto(sock_raw, (char *)opacket, sizeof(*oicp)+12, 0,
312 struct icmphdr *oicp = (struct icmphdr *) opacket;
344 oicp->type = ICMP_ECHO;
345 oicp->code = 0;
346 oicp->checksum = 0;
347 oicp->un.echo.id = id;
348 ((__u32*)(oicp+1))[0] = 0;
349 ((__u32*)(oicp+1))[1] = 0;
350 ((__u32*)(oicp+1))[2] = 0;
367 oicp->un.echo.sequence = ++seqno;
368 oicp->checksum = 0;
371 ((__u32*)(oicp+1))[0] = htonl((tv1.tv_sec % (24*60*60)) * 1000
373 oicp->checksum = in_cksum((u_short *)oicp, sizeof(*oicp)+12);
375 count = sendto(sock_raw, (char *)opacket, sizeof(*oicp)+12, 0,