Commit Graph

20 Commits

Author SHA1 Message Date
cgd
705e61651e fix a couple of bugs pointed out by John Birrell, though fix some
differently he did.  (1) don't assume that the timeval in
the packet is correctly aligned, (2) don't compare beyond the end
of the packet, (3) minor cast for printf happiness.
1995-08-11 22:37:58 +00:00
ghudson
34f94f0c70 Add and document options -w (to specify a maximum wait timeout, useful
for testing network interfaces) and -S (to specify a source address
on a machine with multiple interfaces).
1995-07-27 23:49:07 +00:00
jtc
68ad3878b1 sys/signal.h -> signal.h 1995-06-26 23:26:23 +00:00
mycroft
27093b3eba Fill in sin_len. 1995-06-03 23:23:52 +00:00
mycroft
6d4cde278d Use inet_aton(), not inet_addr(). 1995-05-21 01:18:03 +00:00
cgd
dfb2f56868 if no packets were received, exit with status 1. this should be
documented somewhere.  As suggested by Rens Troost.
1995-04-22 15:27:08 +00:00
mycroft
ffe9a4ccf0 Update to use timer{add,sub}(). 1995-03-21 13:55:23 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
cgd
568f59eb00 will need <sys/queue.h> 1994-10-31 04:34:56 +00:00
mycroft
4922d725cf Remove some more uses of obsolete functions. 1994-09-23 23:48:10 +00:00
mycroft
ea7b5d4ec6 Eliminate uses of some obsolete functions. 1994-09-23 14:26:58 +00:00
mycroft
3c78ef3311 Merge with 4.4-Lite version. 1994-09-23 01:38:45 +00:00
hpeyerl
93855d31e9 Another multicast patch.
>From LBL and Steve Mccanne
1993-12-15 04:46:13 +00:00
mycroft
262cbdab66 Use doubles to rather than longs to avoid tsum overflowing so quickly. 1993-09-23 23:03:55 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
beb4553725 have ping do the right thing, wrt microseconds.
actually, now it'll overflow its counters sooner than before, and everything
should *really* be converted to doubles and/or "unsigned long long"s
1993-07-22 09:49:57 +00:00
cgd
06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd
346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00