Lines Matching defs:packet
56 * measure round-trip-delays and packet loss across network paths.
98 #define MAXPACKET 128000 /* max packet size */
179 u_char *packet;
413 if (!(packet = (u_char *)malloc((u_int)packlen))) {
425 /* Estimate memory eaten by single packet. It is rough estimate.
549 main_loop(icmp_sock, packet, packlen);
634 * Compose and transmit an ICMP ECHO REQUEST packet. The IP packet
688 * Print out the packet, if it came from us. This logic is necessary
717 fprintf(stderr, "ping: packet too short (%d bytes)\n", cc);