ReactOS  0.4.15-dev-499-g1f31905
icmpapi.h
Go to the documentation of this file.
1 /*
2  * Interface to the ICMP functions.
3  *
4  * Copyright (C) 1999 Francois Gouget
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef __WINE_ICMPAPI_H
22 #define __WINE_ICMPAPI_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
29  VOID
30  );
31 
33  VOID
34  );
35 
37  HANDLE IcmpHandle
38  );
39 
41  HANDLE IcmpHandle,
43  LPVOID RequestData,
45  PIP_OPTION_INFORMATION RequestOptions,
47  DWORD ReplySize,
49  );
50 
51 DWORD
52 WINAPI
54  HANDLE IcmpHandle,
55  HANDLE Event,
59  LPVOID RequestData,
61  PIP_OPTION_INFORMATION RequestOptions,
63  DWORD ReplySize,
65  );
66 
67 DWORD
68 WINAPI
70  HANDLE IcmpHandle,
71  HANDLE Event,
76  LPVOID RequestData,
78  PIP_OPTION_INFORMATION RequestOptions,
80  DWORD ReplySize,
82  );
83 
84 DWORD
85 WINAPI
88  DWORD ReplySize
89  );
90 
91 DWORD
92 WINAPI
95  DWORD ReplySize
96  );
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 
103 #endif /* __WINE_ICMPAPI_H */
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID ApcContext
Definition: iofuncs.h:719
DWORD WINAPI IcmpSendEcho(HANDLE IcmpHandle, IPAddr DestinationAddress, LPVOID RequestData, WORD RequestSize, PIP_OPTION_INFORMATION RequestOptions, LPVOID ReplyBuffer, DWORD ReplySize, DWORD Timeout)
unsigned int BOOL
Definition: ntddk_ex.h:94
DWORD WINAPI Icmp6ParseReplies(LPVOID ReplyBuffer, DWORD ReplySize)
HANDLE WINAPI Icmp6CreateFile(VOID)
Definition: icmp.c:15
DWORD WINAPI IcmpParseReplies(LPVOID ReplyBuffer, DWORD ReplySize)
ULONG IPAddr
Definition: pfhook.h:35
HANDLE WINAPI IcmpCreateFile(VOID)
Definition: icmp.c:219
DWORD WINAPI Icmp6SendEcho2(HANDLE IcmpHandle, HANDLE Event, FARPROC ApcRoutine, PVOID ApcContext, struct sockaddr_in6 *SourceAddress, struct sockaddr_in6 *DestinationAddress, LPVOID RequestData, WORD RequestSize, PIP_OPTION_INFORMATION RequestOptions, LPVOID ReplyBuffer, DWORD ReplySize, DWORD Timeout)
#define WINAPI
Definition: msvc.h:6
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle)
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE ApcRoutine
Definition: iofuncs.h:719
_Must_inspect_result_ _In_ PFLT_PORT _In_ ULONG _Out_writes_bytes_opt_ ReplyLength PVOID ReplyBuffer
Definition: fltkernel.h:1903
DWORD WINAPI IcmpSendEcho2(HANDLE IcmpHandle, HANDLE Event, FARPROC ApcRoutine, PVOID ApcContext, IPAddr DestinationAddress, LPVOID RequestData, WORD RequestSize, PIP_OPTION_INFORMATION RequestOptions, LPVOID ReplyBuffer, DWORD ReplySize, DWORD Timeout)
static ULONG Timeout
Definition: ping.c:61
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Out_ PPHYSICAL_ADDRESS DestinationAddress
Definition: iotypes.h:1092
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS SourceAddress
Definition: iotypes.h:1092
int(* FARPROC)()
Definition: compat.h:28