Commit Graph

77 Commits

Author SHA1 Message Date
Bernhard Übelacker 9145b551b2 inetmib1: Fix endianess issue with dwLocalAddr and dwLocalPort.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52224
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-17 17:56:00 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard ea6eea0bba inetmib1: Make bsearch() callback functions cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-22 09:58:00 +02:00
Alexandre Julliard 7fa73a79af inetmib1: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 09:01:57 +02:00
Michael Stefaniuc c9329d6898 inetmib1: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Michael Stefaniuc 2dff8bc85d inetmib1/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 23:50:12 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Francois Gouget 899cb20eb9 inetmib1/tests: Add a trailing '\n' to an ok() call. 2014-02-12 19:15:14 +01:00
Nikolay Sivov 1faa3d4e52 inetmib1/tests: Cleanup tests a bit, fix a crash on Win8 64bit. 2014-02-07 11:05:31 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d6976d7e00 inetmib1: Don't bother to free memory at process exit. 2013-05-15 10:20:16 +02:00
Francois Gouget 3fe2d6e5fd include: Update the nldef.h and *mib.h headers. 2011-12-15 10:49:17 +01:00
Frédéric Delanoy 699fb02d10 inetmib1: Avoid idempotent operation in findSupportedQuery function (Clang). 2011-10-14 20:26:42 +02:00
Gerald Pfeifer eb087ae860 inetmib1: Remove unused parameter pPduType from mapStructEntryToValue. 2011-05-25 17:53:48 +02:00
Austin English ead0efbacd inetmib1/tests: Add missing broken(). 2011-02-28 13:11:58 +01:00
Austin English 6d66446baf inetmib1/tests: Remove a dead assignment (LLVM/Clang). 2011-02-17 17:30:13 +01: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
Michael Stefaniuc f788302470 inetmib1/tests: Fix duplicate expressions in if condition. 2010-03-26 15:35:50 +01: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
Paul Vriens 5f8717d7f6 inetmib1/tests: Free memory after use (Valgrind). 2010-01-14 09:13:59 -06:00
Juan Lang 960a1a9ab7 inetmib1: Copy an IP net row's physical address using a type-specific helper function, rather than using a generic helper function which made an invalid alignment assumption. 2009-12-09 12:19:09 +01:00
Juan Lang 950202a59b inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's description if it has none. 2009-12-09 12:19:02 +01:00
Juan Lang 91d62162da inetmib1: Return SNMP_ERRORSTATUS_NOSUCHNAME for an interface's physical address if it has none. 2009-12-08 12:35:55 +01:00
Juan Lang 632b759ffe inetmib1: Return error value from MIB copy functions. 2009-12-08 12:35:45 +01:00
Juan Lang 7060f8961a inetmib1: Don't claim a value is dynamic when it isn't. 2009-12-08 12:35:38 +01:00
Rob Shearman d0f93223b1 inetmib1: Fix off-by-one error in findNextOidInTable.
index is 1-based, so take that into account when calculating the
pointer to pass into the compare function.
2009-12-02 16:31:22 +01:00
Juan Lang 6a025c5a32 inetmib1: Rename a poorly named variable. 2009-05-18 14:31:06 +02:00
Juan Lang f95324c69e inetmib1: Don't query the same OID twice if it returns SNMP_ERRORSTATUS_NOSUCHNAME the first time. 2009-05-15 10:27:25 +02:00
Juan Lang 9b65338ef9 inetmib1: Make sure the successor to an item doesn't have an identical key as it, to prevent infinite loops in table enumeration. 2009-05-15 10:27:14 +02:00
Juan Lang 52722e6638 inetmib1: Fix memory leaks. 2009-05-13 12:02:13 +02:00
Juan Lang f893387da8 inetmib1/tests: Trace the SNMP error code and index rather than GetLastError on failure. 2009-05-11 12:42:56 +02:00
Juan Lang 782efb5702 inetmib1: Return errors from SnmpExtensionQuery. 2009-05-08 12:20:57 +02:00
Juan Lang 1c547cdc44 inetmib1: Return error codes from internal query functions. 2009-05-08 12:20:52 +02:00
Juan Lang a548d5a29f inetmib1: Check return values from SnmpUtilOid functions in utility functions. 2009-05-08 12:20:41 +02:00
Paul Vriens 5a892b8c49 inetmib1/tests: Add a FreeLibrary and turn some skip()s into win_skip()s. 2009-04-29 13:08:36 +02:00
Juan Lang 80a48578c6 inetmib1: Remove a test that's no longer true on Windows Vista. 2009-01-30 11:44:46 +01:00
Juan Lang 1627377d1b inetmib1: Fix remaining failure on Win9x/NT4. 2008-10-09 14:20:05 +02:00
Juan Lang 52e64b155e inetmib1: Fix some test failures on Win9x/NT4. 2008-10-09 14:20:01 +02:00
Paul Vriens 682890ae4d inetmib1/tests: Compare instead of assign. 2008-10-08 12:20:24 +02:00
Juan Lang e2a8da9e86 inetmib1: Skip tests if a portion of inetmib1 isn't implemented.
This fixes a hang (and sometimes a system hang) on MacOSX when running
the inetmib1 tests.  Spotted by Owen Rudge.
2008-09-29 17:24:00 -05:00
Rico Schüller c62529a7ae inetmib1: Fix wrong arguments. 2008-08-05 14:09:37 +02:00
Francois Gouget eb16f43bdf Add some API documentation stubs to make winapi_check happy. 2008-07-28 11:34:45 +02:00
Alexandre Julliard 5530977fdb inetmib1: Check for failure of the iphlpapi functions instead of blindly trusting them. 2008-07-22 19:48:45 +02:00
Juan Lang 52fcae9909 inetmib1: Fix test failures on some systems. 2008-07-03 11:50:51 +02:00
Juan Lang 4b45b24d9d inetmib1: Free memory when DLL is unloaded. 2008-06-30 12:37:46 +02:00
Juan Lang 3646816247 inetmib1: Don't prefer the native version, it doesn't do much anyway. 2008-06-30 12:37:42 +02:00
Juan Lang 8f66c13e35 inetmib1: Support the MIB2 UDP table. 2008-06-30 12:37:37 +02:00