|
ReactOS 0.4.16-dev-2574-g474348f
|
#include <stdarg.h>#include <stdlib.h>#include <windef.h>#include <winbase.h>#include <winuser.h>#include <ws2tcpip.h>#include <iphlpapi.h>#include <icmpapi.h>#include <winsock2.h>#include <conutils.h>#include <strsafe.h>#include "resource.h"
Go to the source code of this file.
Classes | |
| struct | TraceInfo |
Macros | |
| #define | SIZEOF_ICMP_ERROR 8 |
| #define | SIZEOF_IO_STATUS_BLOCK 8 |
| #define | PACKET_SIZE 32 |
| #define | MAX_IPADDRESS 32 |
| #define | NUM_OF_PINGS 3 |
| #define | MIN_HOP_COUNT 1 |
| #define | MAX_HOP_COUNT 255 |
| #define | MIN_MILLISECONDS 1 |
| #define | MAX_MILLISECONDS ULONG_MAX |
| #define | OutputText(uID, ...) ConResMsgPrintf(StdOut, 0, (uID), ##__VA_ARGS__) |
Functions | |
| static VOID | Usage () |
| static bool | GetULONG (_In_ PCWSTR String, _Out_ PULONG Value) |
| static bool | ResolveTarget () |
| static bool | PrintHopInfo (_In_ PVOID Buffer) |
| static ULONG | GetResponseStats (_In_ PVOID ReplyBuffer, _Out_ ULONG &RoundTripTime, _Out_ PVOID &AddressInfo) |
| static bool | DecodeResponse (_In_ PVOID ReplyBuffer, _In_ PVOID LastGoodResponse, _In_ bool OutputHopAddress, _Out_ bool &GoodResponse, _Out_ bool &FoundTarget) |
| static bool | RunTraceRoute () |
| static bool | GetUlongOptionInRange (_In_ int argc, _In_ wchar_t *argv[], _Inout_ int *i, _Out_ ULONG *Value, _In_ ULONG MinimumValue, _In_ ULONG MaximumValue) |
| static bool | ParseCmdline (int argc, wchar_t *argv[]) |
| EXTERN_C int | wmain (int argc, wchar_t *argv[]) |
Variables | |
| struct TraceInfo | Info = { 0 } |
| #define MAX_HOP_COUNT 255 |
Definition at line 32 of file tracert.cpp.
| #define MAX_IPADDRESS 32 |
Definition at line 29 of file tracert.cpp.
Definition at line 34 of file tracert.cpp.
| #define MIN_HOP_COUNT 1 |
Definition at line 31 of file tracert.cpp.
| #define MIN_MILLISECONDS 1 |
Definition at line 33 of file tracert.cpp.
| #define NUM_OF_PINGS 3 |
Definition at line 30 of file tracert.cpp.
| #define OutputText | ( | uID, | |
| ... | |||
| ) | ConResMsgPrintf(StdOut, 0, (uID), ##__VA_ARGS__) |
Definition at line 68 of file tracert.cpp.
| #define PACKET_SIZE 32 |
Definition at line 28 of file tracert.cpp.
| #define SIZEOF_ICMP_ERROR 8 |
Definition at line 26 of file tracert.cpp.
| #define SIZEOF_IO_STATUS_BLOCK 8 |
Definition at line 27 of file tracert.cpp.
|
static |
Definition at line 230 of file tracert.cpp.
Referenced by RunTraceRoute().
|
static |
Definition at line 196 of file tracert.cpp.
Referenced by DecodeResponse().
Definition at line 79 of file tracert.cpp.
Referenced by GetUlongOptionInRange().
|
static |
Definition at line 480 of file tracert.cpp.
Referenced by ParseCmdline().
Definition at line 514 of file tracert.cpp.
Referenced by wmain().
Definition at line 128 of file tracert.cpp.
Referenced by DecodeResponse().
|
static |
Definition at line 102 of file tracert.cpp.
Referenced by RunTraceRoute(), and wmain().
|
static |
Definition at line 310 of file tracert.cpp.
Referenced by wmain().
Definition at line 73 of file tracert.cpp.
Referenced by ParseCmdline().
Definition at line 601 of file tracert.cpp.