[TRACERT] Rewrite tracert

- Full rewrite. This commit replaces the old utility.
- Use the new ICMP APIs instead of manually crafting ping requests using raw sockets.
- Add support for additional languages (the previous utility was hardcoded)
- Add support for IPv6
- Make the icmpapi header C++ compatible. (we don't appear to sync this with wine anymore.)
- Now runs on Win10, is much more reliable, and brings the code somewhat into the 21st century.
(It's currently missing source routing (-j), but as most routers disable this anyway, I'm not sure that it's worth adding)
This commit is contained in:
Ged Murphy 2018-01-02 09:43:14 +00:00 committed by GitHub
parent 8d436d9bb5
commit 344f367211
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 1164 additions and 749 deletions

View file

@ -21,6 +21,10 @@
#ifndef __WINE_ICMPAPI_H
#define __WINE_ICMPAPI_H
#ifdef __cplusplus
extern "C" {
#endif
HANDLE WINAPI IcmpCreateFile(
VOID
);
@ -91,4 +95,9 @@ Icmp6ParseReplies(
DWORD ReplySize
);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_ICMPAPI_H */