iphlpapi: Move Icmp* functions from icmp to iphlpapi.
This commit is contained in:
parent
d725626a2b
commit
65549c5e58
|
@ -6,8 +6,6 @@ MODULE = icmp.dll
|
|||
IMPORTLIB = icmp
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = icmp_main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
||||
|
||||
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
@ stdcall IcmpCloseHandle(ptr)
|
||||
@ stdcall IcmpCreateFile()
|
||||
@ stdcall IcmpCloseHandle(ptr) iphlpapi.IcmpCloseHandle
|
||||
@ stdcall IcmpCreateFile() iphlpapi.IcmpCreateFile
|
||||
@ stub IcmpParseReplies
|
||||
@ stub IcmpSendEcho2
|
||||
@ stdcall IcmpSendEcho(ptr long ptr long ptr ptr long long)
|
||||
@ stdcall IcmpSendEcho2(ptr ptr ptr ptr long ptr long ptr ptr long long) iphlpapi.IcmpSendEcho2
|
||||
@ stdcall IcmpSendEcho(ptr long ptr long ptr ptr long long) iphlpapi.IcmpSendEcho
|
||||
@ stub do_echo_rep
|
||||
@ stub do_echo_req
|
||||
@ stub register_icmp
|
||||
|
|
|
@ -8,6 +8,7 @@ IMPORTS = advapi32 kernel32
|
|||
EXTRALIBS = @RESOLVLIBS@
|
||||
|
||||
C_SRCS = \
|
||||
icmp.c \
|
||||
ifenum.c \
|
||||
iphlpapi_main.c \
|
||||
ipstats.c
|
||||
|
|
|
@ -146,7 +146,7 @@ static int in_cksum(u_short *addr, int len)
|
|||
*/
|
||||
|
||||
/***********************************************************************
|
||||
* IcmpCreateFile (ICMP.@)
|
||||
* IcmpCreateFile (IPHLPAPI.@)
|
||||
*/
|
||||
HANDLE WINAPI IcmpCreateFile(VOID)
|
||||
{
|
||||
|
@ -171,7 +171,7 @@ HANDLE WINAPI IcmpCreateFile(VOID)
|
|||
|
||||
|
||||
/***********************************************************************
|
||||
* IcmpCloseHandle (ICMP.@)
|
||||
* IcmpCloseHandle (IPHLPAPI.@)
|
||||
*/
|
||||
BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle)
|
||||
{
|
||||
|
@ -189,7 +189,7 @@ BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle)
|
|||
|
||||
|
||||
/***********************************************************************
|
||||
* IcmpSendEcho (ICMP.@)
|
||||
* IcmpSendEcho (IPHLPAPI.@)
|
||||
*/
|
||||
DWORD WINAPI IcmpSendEcho(
|
||||
HANDLE IcmpHandle,
|
||||
|
@ -364,7 +364,7 @@ DWORD WINAPI IcmpSendEcho(
|
|||
case ICMP_UNREACH_ISOLATED:
|
||||
#endif
|
||||
#ifdef ICMP_UNREACH_HOST_PROHIB
|
||||
case ICMP_UNREACH_HOST_PROHIB:
|
||||
case ICMP_UNREACH_HOST_PROHIB:
|
||||
#endif
|
||||
#ifdef ICMP_UNREACH_TOSHOST
|
||||
case ICMP_UNREACH_TOSHOST:
|
|
@ -54,6 +54,11 @@
|
|||
@ stdcall GetUdpTable( ptr ptr long )
|
||||
@ stub GetUdpTableFromStack
|
||||
@ stdcall GetUniDirectionalAdapterInfo( ptr ptr )
|
||||
@ stdcall IcmpCloseHandle(ptr)
|
||||
@ stdcall IcmpCreateFile()
|
||||
@ stub IcmpParseReplies
|
||||
@ stub IcmpSendEcho2
|
||||
@ stdcall IcmpSendEcho(ptr long ptr long ptr ptr long long)
|
||||
@ stub InternalCreateIpForwardEntry
|
||||
@ stub InternalCreateIpNetEntry
|
||||
@ stub InternalDeleteIpForwardEntry
|
||||
|
|
Loading…
Reference in New Issue