Date: Mon, 24 Apr 2000 21:49:39 +0530 From: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> To: "Jason J. Horton" <jason@intercom.com> Cc: questions@FreeBSD.ORG Subject: Re: question about ping(8) Message-ID: <20000424214938.B951@physics.iisc.ernet.in> In-Reply-To: <20000424214137.A951@physics.iisc.ernet.in>; from rsidd@physics.iisc.ernet.in on Mon, Apr 24, 2000 at 09:41:37PM %2B0530 References: <39046FCE.143CAFC0@intercom.com> <20000424214137.A951@physics.iisc.ernet.in>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 64 bytes from 10.10.10.2: icmp_seq=60393 ttl=255 time=0.544 ms > > ^C > > --- 10.10.10.2 ping statistics --- > > 322538 packets transmitted, 322538 packets received, 0% packet loss > > round-trip min/avg/max/stddev = 0.470/0.565/30.742/0.234 ms > > > > Any reason the ping stopped logging at 322538 packets? > > Maybe because you hit ^C? :-) Or if you were asking about the icmp_seq=60393, this is the remainder when you divide 322537 by 65536 (the maximum 16-bit integer). The counter starts from zero, so the number of packets transmitted is one greater. In the source file the number of transmitted packets seems to be counted in a long integer, so that didn't overflow. Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000424214938.B951>