ReactOS
0.4.15-dev-4572-gde972e2
|
#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 bool | DecodeResponse (_In_ PVOID ReplyBuffer, _In_ bool OutputHopAddress, _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 34 of file tracert.cpp.
#define NUM_OF_PINGS 3 |
Definition at line 35 of file tracert.cpp.
#define PACKET_SIZE 32 |
Definition at line 33 of file tracert.cpp.
#define SIZEOF_ICMP_ERROR 8 |
Definition at line 31 of file tracert.cpp.
#define SIZEOF_IO_STATUS_BLOCK 8 |
Definition at line 32 of file tracert.cpp.
Definition at line 86 of file tracert.cpp.
Referenced by OutputText().
|
static |
Definition at line 279 of file tracert.cpp.
Referenced by RunTraceRoute().
Definition at line 159 of file tracert.cpp.
Referenced by ParseCmdline().
Definition at line 56 of file tracert.cpp.
Referenced by AllocAndLoadString().
Definition at line 115 of file tracert.cpp.
Referenced by DecodeResponse(), ParseCmdline(), PrintHopInfo(), RunTraceRoute(), and Usage().
Definition at line 506 of file tracert.cpp.
Referenced by wmain().
Definition at line 211 of file tracert.cpp.
Referenced by DecodeResponse().
|
static |
Definition at line 178 of file tracert.cpp.
Referenced by RunTraceRoute().
|
static |
Definition at line 374 of file tracert.cpp.
Referenced by wmain().
Definition at line 563 of file tracert.cpp.