mtr/packet
Matt Kimball dffd81b656 Update Cygwin ICMP service thread for asynchronous pipes
Recent versions of Cygwin implement pipe() using Windows' named
pipes, and put the read end of the pipe in FILE_PIPE_COMPLETE_OPERATION
mode, which doesn't allow overlapped I/O operations.

For the relevant commit in the Cygwin repository, see
9e4d308cd592fe383dec58ea6523c1b436888ef8

The solution here is to maintain a Windows event object which is
set only when any ICMP requests are pending.  We can do an alertable
wait on that event object, which will allow us to complete ICMP
requests.

Thanks to Adam Schultz for research into this issue and a first
attempt at a fix.
2023-10-24 03:02:43 +01:00
..
cmdparse.c Updating some comments 2020-07-03 14:53:28 -04:00
cmdparse.h fix spelling 2021-09-05 13:56:32 +00:00
command.c Set SO_BINDTODEVICE for -I 2022-08-05 09:58:41 +02:00
command.h Rework Cygwin mtr-packet to respond to signals (such as SIGTERM) 2019-03-03 08:00:55 -08:00
construct_unix.c Drop capabilities when setsockopt errors 2023-10-02 20:16:28 -05:00
construct_unix.h probe - extend matching to src/dst host&port 2018-11-01 11:34:25 +01:00
deconstruct_unix.c unify codestyle 2021-09-05 13:56:32 +00:00
deconstruct_unix.h Merge pull request #215 from linghutiantian/dev/dgram_socket 2017-08-28 10:32:57 +02:00
packet.c Fix interface binding by retaining CAP_NET_RAW 2023-09-29 18:42:16 -05:00
platform.h Update incorrect FSF address 2017-08-27 00:21:47 +02:00
probe_cygwin.c Update Cygwin ICMP service thread for asynchronous pipes 2023-10-24 03:02:43 +01:00
probe_cygwin.h Update Cygwin ICMP service thread for asynchronous pipes 2023-10-24 03:02:43 +01:00
probe_unix.c Merge pull request #478 from esimest/master 2023-10-03 14:00:59 +02:00
probe_unix.h Change UDP and ICMP sockets binding to accept a source IP from the -a CLI option 2023-09-11 11:48:53 +02:00
probe.c trim trailing whitespace 2021-09-05 13:56:32 +00:00
probe.h Use a uint32 for the type of a Linux mark 2023-10-03 22:13:00 -05:00
protocols.h trim trailing whitespace 2021-09-05 13:56:32 +00:00
sockaddr.c unify codestyle 2021-09-05 13:56:32 +00:00
sockaddr.h sockaddr - save a cast accessing the port 2018-11-02 09:01:34 +01:00
timeval.c Update incorrect FSF address 2017-08-27 00:21:47 +02:00
timeval.h Update incorrect FSF address 2017-08-27 00:21:47 +02:00
utils.h Fix interface binding by retaining CAP_NET_RAW 2023-09-29 18:42:16 -05:00
wait_cygwin.c Added include errno --obouizi 2020-02-12 12:19:19 +01:00
wait_unix.c Updating some comments 2020-07-03 14:53:28 -04:00
wait.h Update incorrect FSF address 2017-08-27 00:21:47 +02:00