ReactOS 0.4.16-dev-295-g4aee028
|
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <wincon.h>
#include <ws2tcpip.h>
#include <iphlpapi.h>
#include <ws2def.h>
#include <stdio.h>
#include <stdlib.h>
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
Functions | |
void | FormatOutput (UINT uID,...) |
static VOID | Usage (VOID) |
static BOOL | ParseCmdline (int argc, LPWSTR argv[]) |
static BOOL WINAPI | StopLoop (DWORD dwCtrlType) |
static BOOL | Setup (VOID) |
static VOID | Cleanup (VOID) |
static VOID | QueryTime (PLARGE_INTEGER Time) |
static VOID | TimeToMsString (LPWSTR String, ULONG Length, LARGE_INTEGER Time) |
static BOOL | Ping (VOID) |
int | wmain (int argc, LPWSTR argv[]) |
Variables | |
BOOL | NeverStop |
UINT | PingCount |
WCHAR | TargetName [256] |
WCHAR | SourceName [256] |
DWORD | SourceAddr |
DWORD | TargetAddr |
WCHAR | TargetIP [16] |
WCHAR | SourceIP [16] |
SOCKADDR_IN | Target |
HANDLE | hStdOutput |
ULONG | Timeout |
LARGE_INTEGER | TicksPerMs |
LARGE_INTEGER | TicksPerUs |
BOOL | UsePerformanceCounter |
UINT | Sent |
UINT | Received |
Definition at line 42 of file arping.c.
Referenced by ParseCmdline(), Ping(), Setup(), Usage(), and wmain().
Definition at line 117 of file arping.c.
Referenced by wmain().
Definition at line 325 of file arping.c.
|
static |
Definition at line 285 of file arping.c.
Referenced by Ping().
Definition at line 216 of file arping.c.
|
static |
Definition at line 371 of file arping.c.
HANDLE hStdOutput |
Definition at line 34 of file arping.c.
Referenced by FormatOutput(), test_pack_STARTUPINFOA(), test_pack_STARTUPINFOW(), and wmain().
BOOL NeverStop |
Definition at line 25 of file arping.c.
Referenced by ParseCmdline(), StopLoop(), and wmain().
UINT PingCount |
Definition at line 26 of file arping.c.
Referenced by ParseCmdline(), StopLoop(), and wmain().
UINT Received |
Definition at line 40 of file arping.c.
Referenced by LibTCPGetDataFromConnectionQueue(), MsafdReturnWithErrno(), Ping(), TCPReceiveData(), TCPRecvEventHandler(), and wmain().
UINT Sent |
Definition at line 39 of file arping.c.
Referenced by handle_gdb_query(), HDA_SendVerbs(), Ping(), send_gdb_partial_binary(), and wmain().
WCHAR SourceName[256] |
Definition at line 28 of file arping.c.
Referenced by ElfReportEventAndSourceW(), ElfrIntReportEventW(), ElfrReportEventAndSourceW(), GetEventCategory(), GetEventMessage(), GetEventMessageFileDLL(), LogfAllocAndBuildNewRecord(), LogfReportEvent(), OpenEventLogA(), OpenEventLogW(), ParseCmdline(), ProcessPortMessage(), QueryTokenSourceTests(), RegisterEventSourceA(), RegisterEventSourceW(), ScmCanonDriverImagePath(), SeReportSecurityEvent(), Setup(), test_pack_TOKEN_SOURCE(), and wmain().
WCHAR TargetIP[16] |
WCHAR TargetName[256] |
Definition at line 27 of file arping.c.
Referenced by ParseCmdline(), and Setup().
LARGE_INTEGER TicksPerMs |
Definition at line 36 of file arping.c.
Referenced by Ping(), QueryTime(), TimeToMsString(), and wmain().
LARGE_INTEGER TicksPerUs |
Definition at line 37 of file arping.c.
Referenced by QueryTime(), and wmain().
BOOL UsePerformanceCounter |
Definition at line 38 of file arping.c.
Referenced by QueryTime(), and wmain().