Module: wine Branch: master Commit: 7156d2b1e4dd7be5ee6194c60afa6aafec8b2544 URL: https://source.winehq.org/git/wine.git/?a=commit;h=7156d2b1e4dd7be5ee6194c60...
Author: Huw Davies huw@codeweavers.com Date: Wed Oct 6 10:12:58 2021 +0100
iphlpapi: Implement IcmpSendEcho2Ex() using nsiproxy.
This results in a small change in behaviour reflected by the change to the tests: previously IcmpCreateFile() would fail if neither a SOCK_RAW nor a SOCK_DGRAM socket were available. With this patch, that failure is delayed until IcmpSendEcho2Ex(). There's no evidence that the original behaviour matches Windows; it's likely the tests were written this way to match Wine's implementation. If there does turn out to be an app that depends on the old behaviour, it would be possible to send an ioctl during IcmpCreateFile() to probe for this.
Signed-off-by: Huw Davies huw@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/iphlpapi/Makefile.in | 1 - dlls/iphlpapi/icmp.c | 643 ----------------------------------------- dlls/iphlpapi/ip.h | 180 ------------ dlls/iphlpapi/ip_icmp.h | 186 ------------ dlls/iphlpapi/iphlpapi_main.c | 172 +++++++++++ dlls/iphlpapi/tests/iphlpapi.c | 14 +- 6 files changed, 177 insertions(+), 1019 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=7156d2b1e4dd7be5ee619...