ReactOS 0.4.16-dev-329-g9223134
|
#include <winsock2.h>
#include <Windows.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <icmpapi.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 |
Functions | |
static INT | LengthOfStrResource (_In_ HINSTANCE hInst, _In_ UINT uID) |
static INT | AllocAndLoadString (_In_ UINT uID, _Out_ LPWSTR *lpTarget) |
static INT | OutputText (_In_ UINT uID,...) |
static VOID | Usage () |
static ULONG | GetULONG (_In_z_ LPWSTR String) |
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 | ParseCmdline (int argc, wchar_t *argv[]) |
EXTERN_C int | wmain (int argc, wchar_t *argv[]) |
Variables | |
struct TraceInfo | Info = { 0 } |
#define MAX_IPADDRESS 32 |
Definition at line 32 of file tracert.cpp.
#define NUM_OF_PINGS 3 |
Definition at line 33 of file tracert.cpp.
#define PACKET_SIZE 32 |
Definition at line 31 of file tracert.cpp.
#define SIZEOF_ICMP_ERROR 8 |
Definition at line 29 of file tracert.cpp.
#define SIZEOF_IO_STATUS_BLOCK 8 |
Definition at line 30 of file tracert.cpp.
Definition at line 84 of file tracert.cpp.
Referenced by OutputText().
|
static |
Definition at line 311 of file tracert.cpp.
Referenced by RunTraceRoute().
|
static |
Definition at line 277 of file tracert.cpp.
Referenced by DecodeResponse().
Definition at line 157 of file tracert.cpp.
Referenced by ParseCmdline().
Definition at line 54 of file tracert.cpp.
Referenced by AllocAndLoadString().
Definition at line 113 of file tracert.cpp.
Referenced by DecodeResponse(), ParseCmdline(), PrintHopInfo(), RunTraceRoute(), and Usage().
Definition at line 561 of file tracert.cpp.
Referenced by wmain().
Definition at line 209 of file tracert.cpp.
Referenced by DecodeResponse().
|
static |
Definition at line 176 of file tracert.cpp.
Referenced by RunTraceRoute(), and wmain().
|
static |
Definition at line 391 of file tracert.cpp.
Referenced by wmain().
Definition at line 151 of file tracert.cpp.
Referenced by ParseCmdline().
Definition at line 618 of file tracert.cpp.