[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

@ -0,0 +1,16 @@
#pragma once
#define IDS_USAGE 100
#define IDS_INVALID_OPTION 101
#define IDS_TRACE_INFO 102
#define IDS_TRACE_COMPLETE 103
#define IDS_UNABLE_RESOLVE 104
#define IDS_GEN_FAILURE 105
#define IDS_HOP_COUNT 107
#define IDS_HOP_TIME 108
#define IDS_HOP_ZERO 109
#define IDS_TIMEOUT 110
#define IDS_HOP_RES_INFO 111
#define IDS_HOP_IP_INFO 112
#define IDS_REQ_TIMED_OUT 113