2005-05-08 18:02:41 +00:00
|
|
|
/*
|
|
|
|
* Interface to the ICMP functions.
|
|
|
|
*
|
|
|
|
* Copyright (C) 1999 Francois Gouget
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2009-10-27 10:34:16 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2005-05-08 18:02:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_ICMPAPI_H
|
|
|
|
#define __WINE_ICMPAPI_H
|
|
|
|
|
2008-11-30 13:46:35 +00:00
|
|
|
HANDLE WINAPI IcmpCreateFile(
|
2005-05-08 18:02:41 +00:00
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2008-11-30 13:46:35 +00:00
|
|
|
HANDLE WINAPI Icmp6CreateFile(
|
2005-05-08 18:02:41 +00:00
|
|
|
VOID
|
|
|
|
);
|
|
|
|
|
2008-11-30 13:46:35 +00:00
|
|
|
BOOL WINAPI IcmpCloseHandle(
|
2005-05-08 18:02:41 +00:00
|
|
|
HANDLE IcmpHandle
|
|
|
|
);
|
|
|
|
|
2008-11-30 13:46:35 +00:00
|
|
|
DWORD WINAPI IcmpSendEcho(
|
2005-05-08 18:02:41 +00:00
|
|
|
HANDLE IcmpHandle,
|
|
|
|
IPAddr DestinationAddress,
|
|
|
|
LPVOID RequestData,
|
|
|
|
WORD RequestSize,
|
|
|
|
PIP_OPTION_INFORMATION RequestOptions,
|
|
|
|
LPVOID ReplyBuffer,
|
|
|
|
DWORD ReplySize,
|
|
|
|
DWORD Timeout
|
|
|
|
);
|
|
|
|
|
|
|
|
DWORD
|
2008-11-30 13:46:35 +00:00
|
|
|
WINAPI
|
2005-05-08 18:02:41 +00:00
|
|
|
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
|
|
|
|
);
|
|
|
|
|
|
|
|
DWORD
|
2008-11-30 13:46:35 +00:00
|
|
|
WINAPI
|
2005-05-08 18:02:41 +00:00
|
|
|
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
|
|
|
|
);
|
|
|
|
|
|
|
|
DWORD
|
2008-11-30 13:46:35 +00:00
|
|
|
WINAPI
|
2005-05-08 18:02:41 +00:00
|
|
|
IcmpParseReplies(
|
|
|
|
LPVOID ReplyBuffer,
|
|
|
|
DWORD ReplySize
|
|
|
|
);
|
|
|
|
|
|
|
|
DWORD
|
2008-11-30 13:46:35 +00:00
|
|
|
WINAPI
|
2005-05-08 18:02:41 +00:00
|
|
|
Icmp6ParseReplies(
|
|
|
|
LPVOID ReplyBuffer,
|
|
|
|
DWORD ReplySize
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif /* __WINE_ICMPAPI_H */
|