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