NetBSD/sbin/ping6
ozaki-r c2e5d2b795 Fix rump.ping6 -c N (N > 1) doesn't work
2nd packet and subsequent packets are sent based on SIGALRM and
it depends on poll(2) returns with EINTR by the signal. However,
currently poll is rump-ified while signals aren't so the signal
doesn't wake up poll and ping6 doesn't work expectedly.

Rump-ifying signals is unsure (nobody does it for now) and the
combination use of signals and poll makes the logic a bit complex.
So let's fix the defect by stopping using signals for packet
transmissions. The new logic is derived from ping(8).

Bonus: ping6 -i 0.01 works as we expect now while the original
didn't work enough fast.
2015-11-04 08:07:54 +00:00
..
Makefile Include several libc functions in rump.ping6 2015-09-09 10:06:05 +00:00
ping6.8 Add options -X for deadline and -x for reply maxwait (flag names matching 2015-05-15 08:02:39 +00:00
ping6.c Fix rump.ping6 -c N (N > 1) doesn't work 2015-11-04 08:07:54 +00:00
ping6_hostops.c rump.ping6 supports "-S" option. 2015-11-04 01:14:02 +00:00
ping6_rumpops.c rump.ping6 supports "-S" option. 2015-11-04 01:14:02 +00:00
prog_ops.h rump.ping6 supports "-S" option. 2015-11-04 01:14:02 +00:00