Commit Graph

115 Commits

Author SHA1 Message Date
Piotr Caban 95510d5b1b iphlpapi: Don't use strncasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:23 +02:00
Michael Stefaniuc 8c79999122 iphlpapi: Drop unneeded continue statements (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-22 19:50:38 +01:00
Michael Stefaniuc 4884323172 iphlpapi: Remove a redundant NULL check before HeapFree().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 21:58:17 +01:00
Józef Kucia be3a3ad825 iphlpapi: Fix FILE leak in get_ipv6_addr_scope_table() (Coverity).
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-11 13:38:25 +02:00
Guillaume Charifi 88e44332fe iphlpapi: Implement GetUdp6Table().
Signed-off-by: Guillaume Charifi <guillaume.charifi@sfr.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-29 22:01:36 +02:00
Michael Stefaniuc d2ff159f16 iphlpapi: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:23 +02:00
Michael Stefaniuc 3aa189ec63 iphlpapi: Avoid ARRAY_SIZE-like macros.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-06 19:44:26 +02:00
Alistair Leslie-Hughes b9e082fc07 include: Move AllocateAndGet* functions to public header.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-08 11:10:48 +02:00
Andrey Gusev 62b5d6b110 iphlpapi: Change variable type.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-03 12:42:42 +01:00
Charles Davis 99d247ad5a iphlpapi: Add missing header to configure test.
This lets GetIcmpStatistics() work again on FreeBSD.

Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 10:24:24 +01:00
André Hentschel 10b91549ed iphlpapi: Fix possible Out-of-bounds write (Coverity). 2015-07-20 06:31:49 +02:00
Huw Davies 8876c3ee82 iphlpapi: Combine the various interface enumeration functions into one function. 2013-09-19 20:14:03 +02:00
Francois Gouget 4f27b78fb4 iphlpapi: Check for proc_pidinfo() instead of assuming libproc.h always defines it.
This is needed on FreeBSD 8.1.
2013-09-04 14:42:58 +02:00
Alexandre Julliard fc36c5eb5d iphlpapi: Fix some memory leaks. 2013-08-26 17:32:03 +02:00
Charles Davis 3a2247f7d3 iphlpapi: Implement find_owning_pid() on FreeBSD. 2013-08-20 12:31:12 +02:00
Charles Davis e3b9167335 iphlpapi: Implement find_owning_pid() for Mac OS. 2013-08-20 12:29:44 +02:00
Hans Leidekker 792eafa465 iphlpapi: Add partial support for the module classes in GetExtendedTcpTable and GetExtendedUdpTable. 2013-07-30 19:12:06 +02:00
Hans Leidekker 8615723699 iphlpapi: Add support for the listener and connection classes in GetExtendedTcpTable. 2013-07-30 19:12:05 +02:00
Juan Lang 0ca4ad0d2f iphlpapi: Fix HRESULT/win32 error code confusion. 2013-02-11 11:24:13 +01:00
Michael Stefaniuc 1cc6710aee iphlpapi: Let C look like C. 2013-02-07 12:03:50 +01:00
Jacek Caban fdcbd3137a iphlpapi: Added support for direct routes when using NET_RT_DUMP. 2013-01-02 17:11:53 +01:00
Francois Gouget 5f55a71b70 Assorted spelling fixes. 2012-09-24 22:27:29 +02:00
André Hentschel 07316882a5 iphlpapi: Improved GetTcpStatisticsEx stub. 2012-09-21 10:54:59 +02:00
André Hentschel 92e24af5e8 iphlpapi: Implement GetIcmpStatisticsEx on Linux. 2012-09-20 19:27:33 +02:00
André Hentschel 5e3cc41004 iphlpapi: Implement GetUdpStatisticsEx on Linux. 2012-09-20 19:24:21 +02:00
André Hentschel f2626c31af iphlpapi: Implement GetIpStatisticsEx on Linux. 2012-09-20 19:24:04 +02:00
Hans Leidekker bc8876f9ce iphlpapi: Add partial support for UDP_TABLE_OWNER_MODULE in GetExtendedUdpTable. 2012-09-07 16:44:03 +02:00
Hans Leidekker 18ba68ea62 iphlpapi: Implement GetExtendedUdpTable. 2012-09-07 16:40:31 +02:00
Francois Gouget 0f3085c82e iphlpapi: Don't rely on the HAVE_XXX macros having a numeric values. 2012-06-13 12:08:50 +02:00
Francois Gouget 562b277bb3 iphlpapi: Don't rely on the HAVE_XXX macros having a numeric values. 2012-06-08 19:35:18 +02:00
André Hentschel bc99d86729 iphlpapi: Check for struct icmpstat (for NetBSD). 2012-06-07 22:00:12 +02:00
André Hentschel 20dbe91212 iphlpapi: Check for struct udpstat (for NetBSD). 2012-06-07 21:59:28 +02:00
André Hentschel eaab7a88f4 iphlpapi: Check for the right TCP statistics structure name (for DragonFly BSD). 2012-06-04 12:17:56 +02:00
André Hentschel cecf1056bb iphlpapi: Check for the right IP statistics structure name (for DragonFly BSD). 2012-06-04 12:17:55 +02:00
André Hentschel c74b1c2159 iphlpapi: Fix check for icmpstat.icps_outhist. 2012-06-04 12:17:55 +02:00
Hans Leidekker e78ac4711c iphlpapi: Add support for TCP_TABLE_OWNER_PID_ALL in GetExtendedTcpTable. 2012-04-16 17:49:33 +02:00
Francois Gouget 3fe2d6e5fd include: Update the nldef.h and *mib.h headers. 2011-12-15 10:49:17 +01:00
Francois Gouget 6fa0bda535 iphlpapi: Remove a few redundant include directives. 2011-12-09 21:15:33 +01:00
Charles Davis 0cae7c5087 iphlpapi: Implement GetUdpTable() on Mac OS and the BSDs. 2011-10-08 19:47:29 +02:00
Huw Davies 8dd5c04c32 iphlpapi: Provide statistics on non-ethernet based interfaces too. 2009-12-02 13:06:08 +01:00
Alexandre Julliard 4f67d8233d iphlpapi: Implemented AllocateAndGetIpForwardTableFromStack for Solaris. 2009-03-10 17:11:44 +01:00
Alexandre Julliard e5ec9aeb79 iphlpapi: Implemented AllocateAndGetIpNetTableFromStack for Solaris. 2009-03-10 17:10:08 +01:00
Alexandre Julliard 8f481bef2e iphlpapi: Implemented AllocateAndGetUdpTableFromStack for Solaris. 2009-03-10 17:08:28 +01:00
Alexandre Julliard 801d9c3a84 iphlpapi: Implemented AllocateAndGetTcpTableFromStack for Solaris. 2009-03-10 17:05:58 +01:00
Alexandre Julliard e8f9a6fc4f iphlpapi: Implemented getInterfaceStatsByName for Solaris. 2009-03-05 19:33:26 +01:00
Alexandre Julliard 026491d8e5 iphlpapi: Implemented GetUdpStatistics for Solaris. 2009-03-05 19:32:10 +01:00
Alexandre Julliard 62740f72d7 iphlpapi: Implemented GetTcpStatistics for Solaris. 2009-03-05 19:27:54 +01:00
Alexandre Julliard ac72b86603 iphlpapi: Implemented GetIpStatistics for Solaris. 2009-03-05 19:25:36 +01:00
Alexandre Julliard a82f443c0c iphlpapi: Implemented GetIcmpStatistics for Solaris. 2009-03-05 19:18:51 +01:00
Alexandre Julliard 4c7216fc77 iphlpapi: Simplify parsing of UDP stats. Only try to open /proc on Linux. 2009-03-05 16:16:24 +01:00