Commit Graph

141 Commits

Author SHA1 Message Date
Alistair Leslie-Hughes 3548b25108 iphlpapi/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 10:46:59 +02:00
André Hentschel ebf5b23ccb iphlpapi: Add partial implementation of GetIfTable2Ex.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 11:55:28 +02:00
Stefan Dösinger a1026df403 iphlpapi: Implement if_nametoindex.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:17:59 +02:00
Hans Leidekker 98f77c4f7c iphlpapi: Adapter names returned from GetAdaptersAddresses are GUID strings.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-11 10:17:48 -05:00
André Hentschel eda35423f4 iphlpapi: Implement GetUnicastIpAddressTable.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-30 22:06:34 +02:00
Bruno Jesus a36e1c84d4 iphlpapi/tests: Test route type and protocol in GetIpForwardTable.
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-07 09:01:16 +01:00
André Hentschel 38bf651bc4 iphlpapi/tests: Test ScopeID only for IPv6.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Bruno Jesus <bjesus@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-27 17:50:34 +01:00
André Hentschel eaa5450ccd iphlpapi/tests: Add tests for GetUnicastIpAddressEntry.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 11:37:02 +01:00
André Hentschel 1bb9db43e1 iphlpapi: Use the new version of the IP_ADAPTER_UNICAST_ADDRESS structure.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-02 19:50:34 +01:00
Bruno Jesus 76644a7c26 iphlpapi/tests: Avoid ntoa() twice in function call as it returns same pointer.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 20:04:52 +01:00
Francois Gouget 77f78ddbf9 iphlpapi/tests: Remove an unnecessary NULL cast.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:18:07 +01:00
André Hentschel 4712f24060 iphlpapi/tests: Fix usage of broken().
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-18 20:01:36 +01:00
André Hentschel c77b11eba0 iphlpapi/tests: Add test for AllocateAndGetTcpExTableFromStack.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:27:54 +01:00
Bruno Jesus 95298b4442 iphlpapi: Ensure GetIpAddrTable returns loopback addresses in the end.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 15:27:46 +01:00
Hans Leidekker e8ceab5344 iphlpapi/tests: Trace network prefixes in the test for GetAdaptersAddresses.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 23:51:31 +09:00
Hans Leidekker ad9ba6a029 iphlpapi: Implement GetIfTable2. 2015-08-18 17:30:14 +09:00
Hans Leidekker f93bf5ae48 iphlpapi/tests: Fix a couple of test failures. 2015-08-17 14:46:13 +09:00
Hans Leidekker 991474da46 iphlpapi: Implement GetIfEntry2. 2015-07-22 16:43:09 +02:00
Hans Leidekker 6cf1de4492 iphlpapi: Implement a couple of interface identifier conversion functions. 2015-07-22 16:42:42 +02:00
Hans Leidekker 2ffb2f71e3 iphlpapi: Add a partial implementation of CreateSortedAddressPairs. 2015-07-21 16:33:23 +02:00
Alexandre Julliard 0de1c331d6 iphlpapi/tests: Avoid sizeof in traces. 2015-05-20 21:45:55 +09:00
Bruno Jesus ec8e1df8a9 iphlpapi/tests: Improve IcmpSendEcho trace. 2015-05-15 21:58:06 +09:00
Bruno Jesus 084bcaa76b iphlpapi: Set MIB_IPADDR_PRIMARY as wType for GetIpAddrTable entries. 2015-05-14 14:24:44 +09:00
Bruno Jesus 9c20f9bca6 iphlpapi: Stub more IP_ADAPTER_UNICAST_ADDRESS fields in GetAdaptersAddresses. 2015-04-16 15:16:46 +09:00
Bruno Jesus 708ab4ca12 iphlpapi: Update the buffer size only if required in GetAdaptersAddresses. 2015-04-16 15:16:35 +09:00
Bruno Jesus a49668e8bc iphlpapi/tests: Add more test_GetAdaptersAddresses tests. 2015-04-16 15:16:31 +09:00
Bruno Jesus 317fd11e85 iphlpapi: Set 0.0.0.0 as the IP and mask of disconnected interfaces. 2015-01-16 16:54:08 +01:00
Marko Hauptvogel 4d0ac5c5ac iphlpapi/tests: Fix typo. 2014-09-12 10:43:32 +02:00
Nikolay Sivov 1017a027e7 iphlpapi/tests: Skipping test on access error. 2014-06-27 10:37:45 +02:00
Bruno Jesus 1470d7b4cc iphlpapi: Return error for IP address with value zero in IcmpSendEcho. 2014-01-13 17:37:28 +01:00
Bruno Jesus 2548d75f16 iphlpapi/tests: Add more IcmpSendEcho tests related to the reply size. 2014-01-09 10:51:07 +01:00
Bruno Jesus 98e1560d49 iphlpapi/tests: Add IcmpSendEcho tests. 2014-01-08 16:11:33 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Michael Stefaniuc c6946ff653 iphlpapi/tests: Use the W form of CreateEvent(). 2013-10-02 11:02:29 +02:00
Huw Davies 01d5632e5e iphlpapi/tests: Increase buffer size to prevent overflow. 2013-09-13 14:19:36 +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
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 18ba68ea62 iphlpapi: Implement GetExtendedUdpTable. 2012-09-07 16:40:31 +02:00
Alexandre Julliard 153e163b27 iphlpapi/tests: Avoid test failures when IPv6 is not supported. 2012-05-03 10:10:45 +02:00
André Hentschel d2581e6229 iphlpapi/tests: Add simple tests for the Get*StatisticsEx functions. 2012-04-30 20:03:30 +02:00
Francois Gouget e0212511fc iphlpapi/tests: Fix compilation on systems that don't support nameless unions. 2012-04-30 11:01:04 +02:00
Alexandre Julliard 99c6eb0dd0 iphlpapi/tests: Get rid of function typedefs and use more standard names for function pointers. 2012-04-25 17:16:24 +02:00
Bruno Jesus 8dde502f0e iphlpapi/tests: Add SetTcpEntry tests. 2012-04-25 17:12:02 +02:00
Hans Leidekker d2dbd9bdac iphlpapi: Add tests for GetExtendedTcpTable. 2012-04-16 17:49:33 +02:00
Francois Gouget 694f27743f iphlpapi/tests: Fix compilation on systems that don't support nameless unions. 2011-12-27 16:55:10 +01:00
Francois Gouget 3fe2d6e5fd include: Update the nldef.h and *mib.h headers. 2011-12-15 10:49:17 +01:00
Mike Kaplinskiy e2e98ae36f iphlpapi: Set the overlapped status to pending as well as returning ERROR_IO_PENDING. 2011-05-23 11:17:06 +02:00
Francois Gouget 5920de5ffb Assorted spelling and case fixes. 2011-05-09 12:09:27 +02:00
Janne Hakonen 82a2ec13f0 iphlpapi: Changed return value of NotifyAddrChange() stub and added test cases. 2011-02-15 17:24:26 +01:00
Timo Teräs bfc8832ccb iphlpapi: Fix GetAdaptersAddresses return values. 2010-12-27 15:39:39 +01:00
David Bartley bf6a20fad3 iphlpapi: Add CancelIPChangeNotify stub. 2010-12-13 12:43:30 +01:00
Austin English d994917fc6 iphlpapi: Remove stray code (clang). 2010-10-04 15:00:05 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Dan Kegel 22434f490a iphlpapi: _res is per-thread in glibc. 2010-02-08 17:49:47 +01:00
Francois Gouget 30a9264109 iphlpapi/tests: Fix compilation on systems that don't support nameless unions or structs. 2009-08-31 16:37:25 +02:00
Hans Leidekker 91b6ebefa8 iphlpapi/tests: Initialize a variable. 2009-07-03 13:06:17 +02:00
Hans Leidekker 5b428fe55e iphlpapi: Add tests for GetAdaptersAddresses. 2009-04-29 15:50:25 +02:00
Alexandre Julliard a8c5bd9f42 iphlpapi/tests: Output the various tables in verbose mode. 2009-03-10 17:50:50 +01:00
Alexandre Julliard 320286af69 iphlpapi/tests: Don't pass a NULL size to GetTcp/UdpTable, it crashes on Vista. 2009-03-05 23:17:35 +01:00
Jeff Zaroyko 33479b898a iphlpapi/tests: Fix a failing test. 2008-12-31 13:18:16 +01:00
Michael Stefaniuc 4eec1ad444 iphlpapi/tests: Replace malloc with HeapAlloc. 2008-12-01 12:57:06 +01:00
James Hawkins 53f4e4345d iphlapi: Fix a failing test in win95. 2008-09-03 14:21:42 +02:00
Paul Vriens 220bb6d188 iphlpapi/tests: Skip some tests for unsupported functions. 2008-08-05 14:09:33 +02:00
Alexandre Julliard bdf180d2a2 iphlpapi: Fix the return value of GetPerAdapterInfo, with tests. 2008-07-03 11:50:51 +02:00
Paul Vriens d1108c8774 iphlpapi/tests: Fix test on Vista. 2008-06-09 12:37:48 +02:00
Paul Vriens fa68a3d9c3 iphlpapi/tests: Fix crash on Vista. 2008-06-09 12:37:39 +02:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Hans Leidekker f5095df935 iphlpapi: Win64 printf format warning fixes. 2006-10-09 12:44:06 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Dmitry Timoshkov 56193ecc36 It's OK to have dwNumEntries == 0 if there is no network connection. 2004-05-06 23:39:59 +00:00
Hans Leidekker 8901df76d4 Don't include config.h. 2004-03-22 21:13:48 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Patrik Stridvall ede82e3055 Fixed some issues found by winapi_check. 2004-02-20 20:19:23 +00:00
Hans Leidekker fcd9732f84 Remove some unused headers. 2004-01-08 00:41:13 +00:00
Juan Lang e6f491aa5c Fixed the dwBCastAddr member of MIB_IPADDRROW, added a test program. 2004-01-07 01:08:55 +00:00