Janne Hakonen
82a2ec13f0
iphlpapi: Changed return value of NotifyAddrChange() stub and added test cases.
2011-02-15 17:24:26 +01:00
Ken Thomases
d52f95cec8
iphlpapi: Enable non-privileged ICMP (ping) on Mac OS X.
2011-02-14 12:29:18 +01:00
Andrew Nguyen
587a9aa9f0
iphlpapi: Correctly compute the buffer offset for the DNS address structure in GetAdaptersAddresses.
...
Spotted with Valgrind.
2011-01-17 15:56:06 +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
Juan Lang
39340a1027
iphlpapi: Return DNS suffix for all non-loopback adapters.
2010-10-13 11:08:02 +02:00
Juan Lang
112f878975
iphlpapi: Set DNS servers in the IP_PER_ADAPTER_INFO returned for non-loopback addresses.
2010-10-12 12:17:51 +02:00
Juan Lang
189cd59079
iphlpapi: Use a helper function to get the DNS server list.
2010-10-12 12:17:51 +02:00
Juan Lang
873034c72d
iphlpapi: Set DNS servers in GetAdaptersAddresses when GAA_FLAG_SKIP_DNS_SERVER isn't specified.
2010-10-12 12:17:50 +02:00
Juan Lang
434cd6c609
iphlpapi: Honor GAA_FLAG_SKIP_FRIENDLY_NAME.
2010-10-12 12:17:50 +02:00
Juan Lang
c44c16cf74
iphlpapi: Honor GAA_FLAG_SKIP_UNICAST.
2010-10-12 12:17:50 +02:00
Juan Lang
60354102c0
iphlpapi: Only return gateway addresses if GAA_FLAG_INCLUDE_ALL_GATEWAYS is specified.
2010-10-12 12:17:50 +02:00
Jeff Latimer
2b6ab9eb86
iphlpapi: Use Windows rather than Unix values to determine family.
2010-10-11 17:11:26 +02:00
Austin English
0ed04f87dd
iphlpapi: Avoid using %n (clang).
2010-10-04 15:00:05 +02:00
Austin English
d994917fc6
iphlpapi: Remove stray code (clang).
2010-10-04 15:00:05 +02:00
Juan Lang
f6081f9352
iphlpapi: Fix inverted logic in mask comparison.
2010-09-28 17:33:20 +02:00
Andrew Nguyen
fea9d8f171
iphlpapi: Remove useless loop and initialize gateway linked list next member to NULL.
2010-09-27 14:10:44 +02:00
Juan Lang
e192beeb0d
iphlpapi: Set adapter description in GetAdaptersAddresses.
2010-09-24 11:34:17 +02:00
Juan Lang
c297dd2fac
iphlpapi: Trace parameters to GetAdaptersAddresses.
2010-09-24 11:34:17 +02:00
Juan Lang
f776aea60d
iphlpapi: Set gateway addresses in GetAdaptersAddresses.
2010-09-24 11:34:16 +02:00
Juan Lang
0905dfc3e7
iphlpapi: Set ConnectionType in GetAdaptersAddresses.
2010-09-24 11:34:16 +02:00
Juan Lang
df9191ae2d
iphlpapi: Set flags for adapters returned by GetAdaptersAddresses.
2010-09-24 11:34:15 +02:00
Juan Lang
f22cf51124
iphlpapi: Trace enumerated addresses.
2010-09-24 11:34:15 +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
Juan Lang
acda9f6ba9
iphlpapi: Don't overwrite last IPv4 address with first IPv6 address.
2010-08-18 09:41:46 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Juan Lang
88c4210b4a
iphlpapi: Remove an unused define.
2010-03-26 17:05:26 +01:00
Hans Leidekker
c058490b69
dnsapi: _res is per-thread in glibc.
...
This mirrors Dan Kegel's fix for iphlpapi.
2010-03-23 17:30:25 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Michael Stefaniuc
0bbce793c3
iphlpapi: Don't crash when enumerating PtP interfaces.
2010-03-16 11:49:27 +01:00
Juan Lang
e3c0e30db1
iphlpapi: Implement GetAdaptersAddresses for IPv6 addresses.
2010-03-15 14:18:05 +01:00
Juan Lang
00fb356990
iphlpapi: Pass address family to adapterAddressesFromIndex.
2010-03-15 14:18:04 +01:00
Juan Lang
00f1c3d395
iphlpapi: Rename a function and variables to make it clearer they're related to IPv4 addresses.
2010-03-15 14:18:04 +01:00
Juan Lang
984c3b2ccb
iphlpapi: Check for ifr_hwaddr member of struct ifreq.
2010-03-15 13:28:26 +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
Roderick Colenbrander
715a398899
iphlpapi: Use winediag for icmp failure.
2009-12-08 17:43:52 +01:00
Huw Davies
8dd5c04c32
iphlpapi: Provide statistics on non-ethernet based interfaces too.
2009-12-02 13:06:08 +01:00
Hans Leidekker
a57d86068e
iphlpapi: Allow both direct and indirect default routes in GetBestRoute.
2009-10-12 17:07:05 +02: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
Francois Gouget
11f7b5ba5a
iphlpapi: Fix compilation on systems that don't support nameless structs or unions.
2009-08-31 12:41:37 +02:00
Juan Lang
0ddc6d5287
iphlpapi: Set adapter name in GetAdaptersAddresses.
2009-08-12 12:51:17 +02:00
Hans Leidekker
cd1ed081de
iphlpapi: Use a separate index to count addresses in GetAdaptersAddresses.
...
Fixes address enumeration when an interfaces is not configured
with an IP address or when an interface is configured with more
than one address.
2009-07-07 11:01:22 +02:00
Hans Leidekker
91b6ebefa8
iphlpapi/tests: Initialize a variable.
2009-07-03 13:06:17 +02:00
Francois Gouget
0c2430ce3d
iphlpapi: Make getInterfacePhysicalByName() static.
2009-05-13 12:45:36 +02:00
Hans Leidekker
5b428fe55e
iphlpapi: Add tests for GetAdaptersAddresses.
2009-04-29 15:50:25 +02:00
Hans Leidekker
f0491f61ba
iphlpapi: Implement 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
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
320286af69
iphlpapi/tests: Don't pass a NULL size to GetTcp/UdpTable, it crashes on Vista.
2009-03-05 23:17:35 +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
Alexandre Julliard
3a60d69b47
iphlpapi: Simplify parsing of TCP stats. Only try to open /proc on Linux.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
988f6b50c7
iphlpapi: Simplify parsing of IP stats. Only try to open /proc on Linux.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
ea73002863
iphlpapi: Simplify parsing of interface data. Only try to open /proc on Linux.
2009-03-05 16:16:24 +01:00
Alexandre Julliard
fc5ac51654
iphlpapi: Simplify parsing of ICMP stats. Only try to open /proc on Linux.
2009-03-05 16:16:23 +01:00
Alexandre Julliard
b35e43d9a0
iphlpapi: Move the ip/icmp/tcp/udp statistics functions to ipstats.c.
2009-03-03 19:46:03 +01:00
Alexandre Julliard
6aade4122a
iphlpapi: Remove the no longer needed getNumRoutes and GetNumWithOneHeader functions.
2009-03-02 13:20:46 +01:00
Alexandre Julliard
18a5a77bac
iphlpapi: Remove the no longer needed getNumTcpEntries function.
2009-03-02 13:20:46 +01:00
Alexandre Julliard
3573c64970
iphlpapi: Remove the no longer needed getNumUdpEntries function.
2009-03-02 13:20:46 +01:00
Alexandre Julliard
7a5c5099bc
iphlpapi: Remove the no longer needed getNumArpEntries function.
2009-03-02 13:20:46 +01:00
Alexandre Julliard
44f30a645e
iphlpapi: Moved AllocateAndGetIpForwardTableFromStack implementation to ipstats.c.
2009-03-02 13:20:32 +01:00
Alexandre Julliard
b406213c42
iphlpapi: Moved AllocateAndGetIpNetTableFromStack implementation to ipstats.c.
2009-03-02 12:51:48 +01:00
Alexandre Julliard
bc08fb99d3
iphlpapi: Moved AllocateAndGetTcpTableFromStack implementation to ipstats.c.
2009-03-02 12:51:02 +01:00
Alexandre Julliard
95827a8237
iphlpapi: Moved AllocateAndGetUdpTableFromStack implementation to ipstats.c.
2009-03-02 12:50:30 +01:00
Alexandre Julliard
3ce9eb0f85
iphlpapi: Reimplement GetIpForwardTable to avoid parsing the same information three times.
2009-03-02 12:49:09 +01:00
Alexandre Julliard
add9e025c2
iphlpapi: Reimplement GetIpNetTable to avoid parsing the same information three times.
2009-03-02 12:45:58 +01:00
Alexandre Julliard
53d522bc54
iphlpapi: Reimplement GetTcpTable to avoid parsing the same information three times.
2009-03-02 12:45:12 +01:00
Alexandre Julliard
d069e498e1
iphlpapi: Reimplement GetUdpTable to avoid parsing the same information three times.
2009-03-02 12:43:33 +01:00
Thomas Kho
3a649b9072
iphlpapi: Fix Solaris build error due to ERR redefinition.
2009-02-26 12:29:51 +01:00
Austin English
ac0252db33
configure.ac: Check for icps_outhist struct.
2009-02-02 15:21:42 +01:00
Austin English
68f2db299d
configure: Check for xinpgen struct.
2009-01-30 14:02:30 +01:00
Gerald Pfeifer
ee1d767fd8
iphlpapi: #define RTF_LLINFO if not in system headers.
2009-01-29 12:19:11 +01:00
Austin English
507f6710ba
iphlpapi: Fix includes for NetBSD.
2009-01-27 11:08:58 +01:00
Austin English
337067a89d
iphlpapi: Include netinet/if_inarp.h for NetBSD.
2009-01-23 13:11:42 +01:00
Austin English
8b1959134e
iphplapi: Include <sys/timeout.h> for OpenBSD/NetBSD.
2009-01-22 15:28:24 +01:00
Austin English
0b98f45bf0
iphplapi: Reorder includes for NetBSD.
2009-01-22 15:28:23 +01:00
Austin English
94021a1f42
iphplapi: Include sys/protosw.h for Net/OpenBSD.
2009-01-21 13:23:43 +01:00
Austin English
b0d46d6892
iphplapi: Reorder defines for NetBSD.
2009-01-21 10:25:25 +01:00
Austin English
72fb5e6276
iphlpapi: Define RTF_MULTICAST if not available.
2009-01-16 12:56:04 +01:00
Andrew Talbot
0592ca5fb0
iphlpapi: Remove unused function.
2009-01-09 14:56:08 +01:00
Michael Stefaniuc
92892873be
include: Use ULONG instead of unsigned long in ipexport.h.
...
Fix also the compiler warnings introduced by this change.
2009-01-06 12:43:28 +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
Michael Stefaniuc
85dba69917
iphlpapi: Remove a comment that dared to ponder to use malloc.
2008-12-01 12:45:54 +01:00
Ricardo Filipe
c3db26d4bc
iphlpapi: Fixed dead store (llvm/clang).
2008-11-18 13:06:27 +01:00
Michael Stefaniuc
3f1a63ec77
iphlpapi: Do not cast zero.
2008-11-04 11:26:40 +01:00
James Hawkins
53f4e4345d
iphlapi: Fix a failing test in win95.
2008-09-03 14:21:42 +02:00
Andrew Talbot
8e638e147e
iphlpapi: Sign-compare warning fix.
2008-08-28 11:24:48 +02:00
Paul Vriens
220bb6d188
iphlpapi/tests: Skip some tests for unsupported functions.
2008-08-05 14:09:33 +02:00
Juan Lang
8c4953f05a
iphlpapi: Partially implement IcmpSendEcho2 using IcmpSendEcho.
2008-07-18 11:10:57 +02:00
Juan Lang
65549c5e58
iphlpapi: Move Icmp* functions from icmp to iphlpapi.
2008-07-18 11:10:44 +02:00
Alexandre Julliard
bdf180d2a2
iphlpapi: Fix the return value of GetPerAdapterInfo, with tests.
2008-07-03 11:50:51 +02:00
Gerald Pfeifer
3e57f56fd2
iphlpapi: Include <netinet/in_systm.h> if present.
2008-06-30 12:13:26 +02:00
Alexandre Julliard
dfb308a6b1
configure: Fix the netinet header checks for Mac OS and Solaris.
2008-06-27 14:06:47 +02:00
Eric Durbin
61201984a6
iphlpapi: Implement getArpTable on FreeBSD.
2008-06-26 11:15:44 +02:00
Eric Durbin
6ea3796cdb
iphlpapi: Implement getNumArpEntries on FreeBSD.
2008-06-26 11:15:34 +02:00
Eric Durbin
beea4d3006
iphlpapi: Implement getTCPStats on FreeBSD.
2008-06-26 11:08:50 +02:00
Eric Durbin
3d122aec41
iphlpapi: Fix a typo resulting in wrong variable assignment.
2008-06-26 10:58:37 +02:00
Eric Durbin
020b0ef64f
iphlpapi: Implement getICMPStats on FreeBSD.
2008-06-26 10:58:20 +02:00
Eric Durbin
9d4c42a5b7
iphlpapi: Downgrade some ERR messages to WARN.
2008-06-26 10:54:41 +02:00
Eric Durbin
a00e693f37
iphlpapi: Implement getIPStats on FreeBSD.
2008-06-26 10:54:23 +02:00
Eric Durbin
6d4eab9ab4
iphlpapi: Implement getUDPStats on FreeBSD.
2008-06-26 10:54:09 +02:00
Eric Durbin
9a974dea63
iphlpapi: Implement getNumUdpEntries on FreeBSD.
2008-06-26 10:51:44 +02:00
Eric Durbin
53058e86e8
iphlpapi: Implement getInterfaceStatsByName on FreeBSD.
2008-06-26 10:51:36 +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
Juan Lang
199cee194f
iphlpapi: Set the adapter's description to its name in GetAdaptersInfo.
2008-05-21 11:36:46 +02:00
Austin English
f4c4488df8
Spelling fixes.
2008-04-07 13:36:17 +02:00
Austin English
cb2274e690
Spelling fixes.
2008-04-04 11:51:40 +02:00
Rob Shearman
48000893f9
makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
...
Only specify the root to keep platform-specifics out of the individual
DLL makefiles.
2008-03-04 20:55:01 +01:00
Rob Shearman
a9e9673460
iphlpapi: Implement GetBestInterfaceEx.
2008-01-17 15:33:49 +01:00
Alexandre Julliard
ad9396302d
Removed some unneeded imports.
2007-12-06 21:24:24 +01:00
Guido Barzini
00a961c5d4
iphlpapi: Restore lost initialisation of ptr->AddressLength in GetAdaptersInfo.
2007-12-04 18:41:18 +01:00
Juan Lang
6ec1eaf32a
iphlpapi: Correct confusing indentation in GetTcpTable.
2007-11-19 12:51:45 +01:00
Juan Lang
03b63500f0
iphlpapi: Correct copy/paste error in GetTcpTable.
2007-11-19 12:51:39 +01:00
Juan Lang
14725934bb
iphlpapi: Avoid HEAP_ZERO_MEMORY where it isn't needed.
2007-11-16 12:36:15 +01:00
Juan Lang
0502de41ae
iphlpapi: Don't allocate gobs of memory if there are no non-loopback interfaces.
2007-11-16 12:36:07 +01:00
Juan Lang
e1a836933f
iphlpapi: Don't allocate gobs of memory if the IP address table is empty.
2007-11-16 12:36:01 +01:00
Juan Lang
9ec6e33e32
iphlpapi: Don't allocate gobs of memory if interface table is empty.
2007-11-16 12:35:55 +01:00
Juan Lang
7e584b4340
iphlpapi: Don't allocate gobs of memory if the UDP table is empty.
2007-11-16 12:35:48 +01:00
Juan Lang
72a59de299
iphlpapi: Don't allocate gobs of memory when the ARP table is empty.
2007-11-16 12:35:42 +01:00
Juan Lang
848e8de5a7
iphlpapi: Don't allocate gobs of memory when the route table is empty.
2007-11-16 12:35:36 +01:00
Juan Lang
5349c5e87b
iphlpapi: Don't allocate gobs of memory when the TCP entry table is empty.
2007-11-16 12:35:26 +01:00
Juan Lang
64f61ce0cd
iphlpapi: Don't override return value from getTcpTable.
2007-11-16 12:35:14 +01:00
Juan Lang
00c97a61bf
iphlpapi: Default to a default gateway when choosing the best route.
2007-11-16 12:34:55 +01:00
Aric Stewart
04b4dd0227
iphlpapi: Correct GetBestRoute when there is no route.
2007-10-25 12:54:20 +02:00
Aric Stewart
80969f5303
iphlpapi: For platforms that do not implement /proc, return Unimplemented for the functions trying to read from there.
2007-10-25 12:48:29 +02:00
Juan Lang
72ef8729e6
iphlpapi: Implement GetAdapterIndex.
2007-10-15 16:56:45 +02:00
Juan Lang
bceab86d35
iphlpapi: UINT and DWORD are now equivalent, even in 64-bit compiles, so remove unnecessary complication.
2007-10-15 16:56:38 +02:00
Juan Lang
519e8db1f3
iphlpapi: Use route table to find an adapter's default gateway in GetAdaptersInfo.
2007-10-15 16:56:24 +02:00
Juan Lang
b0efe7f8b8
iphlpapi: Improve GetPerAdapterInfo stub.
2007-10-15 12:10:38 +02:00
Mark Adams
9c4a128940
iphlpapi: Fix byte ordering of Linux ports.
2007-07-12 14:41:34 +02:00
Mark Adams
2569635cbf
iphlpapi: Add support for GetTcpTable on Mac OS X.
2007-07-12 14:41:22 +02:00
Francois Gouget
5a8fc34033
Assorted spelling fixes.
2007-04-30 12:35:11 +02:00
Hans Leidekker
dfebf1b91d
iphlpapi: Only call res_init() once per process.
2007-04-19 11:56:03 +02:00
Alexandre Julliard
9dd1f1e341
Added version information for a number of dlls.
2007-03-07 21:25:16 +01:00
Alexandre Julliard
c41e09e9a0
iphlpapi: Avoid printf format warnings.
2007-02-05 22:04:29 +01:00
Mark Adams
641abc997c
iphlpapi: Support for non-linux platforms, including Mac OS X.
...
- Add error messages when unimplemented functions are called on
non-linux platforms.
- Implement retrieving the interface list on MacOS X (and other
platforms that use NET_RT_DUMP).
2007-01-26 12:58:47 +01:00
Mark Adams
1e263e663b
iphlpapi: Filter out no-ip addresses when building ip address table.
2007-01-26 12:56:42 +01:00
Mark Adams
a91d69190e
iphlpapi: Clarify interface counting.
2007-01-26 12:56:28 +01:00
Ken Thomases
6b033cc1e6
iphlpapi: Fixed a problem with enumerating network interfaces.
...
Keep increasing the buffer until the returned length is more than two
records smaller than the buffer we provided.
2006-12-21 14:47:20 +01:00
Francois Gouget
bb8e625b5b
Assorted spelling fixes.
2006-12-05 10:31:47 +01:00
Stephen R. Veit
5731967d2d
iphlpapi: Fix GetAdaptersInfo return value for IpMask.
2006-10-30 11:16:29 +01:00
Marcus Meissner
2c8aeb6db1
iphlpapi: NetBSD needs sys/param.h.
2006-10-24 11:31:07 +02: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
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Alexandre Julliard
eebb111221
configure: Only link against libresolv where necessary.
2006-08-04 23:17:56 +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
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +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
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Vitaly Lipatov
f382722390
iphplapi: Define IF_NAMESIZE if missing.
2006-02-24 21:13:54 +01:00
Marcus Meissner
b970b22037
iphlpapi: Allocate space enough to handle all the possible ipv4 addresses.
2006-01-30 18:16:22 +01:00
Juan Lang
540dca3259
iphlpapi: Reimplement interface enumeration.
...
Implement interface enumeration based on if_nameindex, based on a
suggestion by Michael Ost
2006-01-27 19:19:32 +01:00
Juan Lang
201cdcc462
iphlpapi: Remove one IP address per interface restriction.
...
- remove restriction of one IP address per interface
- remove dead code, and make static functions that can be
- update comments and copyright notice
2006-01-25 13:14:12 +01:00
Juan Lang
5cd6b34259
iphlpapi: Clean up memory allocation.
...
- pass heap to allocate from directly to helper functions, instead of
unnecessarily copying returned data
- use public types rather than internal ones
- make sure GetBestRoute doesn't return bogus matches
2006-01-24 12:18:50 +01:00
Juan Lang
53e634bec6
iphlpapi: Remove redundant comments and fix typos.
2006-01-20 16:16:56 +01:00
Juan Lang
36ac9f8665
iphlpapi: Fix a couple of file descriptor leaks.
2005-12-13 11:11:53 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
6d442aeb34
Assorted spelling fixes.
2005-11-23 20:14:43 +01:00
Markus Amsler
b213461575
Add, reformat API documentation.
2005-11-14 11:24:37 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Alexandre Julliard
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Alexandre Julliard
49b7fdcfc0
Removed the broken mmap64 configure check, and moved the
...
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Stefan Huehner
17ed5537e7
Fix some more -Wmissing-declarations warnings.
2005-07-05 11:05:50 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +00:00
Stefan Huehner
9213d56ae0
Make some function static.
2005-06-20 15:35:54 +00:00
Alexandre Julliard
629352bdc4
Moved network configuration parameters to HKCU\Software\Wine\Network.
2005-06-14 17:22:41 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +00:00
Robert Shearman
4fee52683b
Fix size passed to lstrcpynA function - sizeof(string) == 4 not 16 as
...
needed.
2005-06-13 10:01:20 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Peter Berg Larsen
e732fc023d
Janitorial: Get rid of strncpy/strncpyW.
2005-03-28 14:17:51 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Juan Lang
76d8779c6f
- use Heap functions rather than libc for mem allocation
...
- document a bunch of functions
2004-12-13 13:21:39 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +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
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +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
Alexandre Julliard
e8a339c1d2
Portability fixes for LSB compatibility.
2004-03-01 21:32:02 +00:00
Patrik Stridvall
ede82e3055
Fixed some issues found by winapi_check.
2004-02-20 20:19:23 +00:00
Juan Lang
6d5ba7d4bb
Remove dead comment.
2004-02-09 20:54:28 +00:00
Alexandre Julliard
d03300eca3
Define INADDR_NONE if needed (reported by Robert Lunnon).
2004-01-15 00:25:41 +00:00
Robert Lunnon
761fce5261
Corrected code to acquire mtu under Solaris.
2004-01-14 05:31: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
Juan Lang
cb759ba94e
Add tracing, add WINS configuration to GetAdaptersInfo, correct
...
ScopeID reading in GetFixedInfo.
2004-01-02 03:55:05 +00:00
Juan Lang
50b7cf0433
- fixes thread safety issues
...
- fixes problems with non-IP (e.g. IPX) addresses
- updates comments to reflect winsock, netapi32 changes
2003-11-30 06:03:21 +00:00
Aric Stewart
84ad10bfcd
Switched a + to a - so that it makes sense when marking the last node
...
in the Adapters Info linked list.
2003-10-31 04:16:54 +00:00
Dmitry Timoshkov
2581db8f6a
Fixed some problems found while compiling and linking Wine under
...
Cygwin.
2003-10-14 05:27:43 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Daniel Marmier
a613de2a22
Use #ifdef instead of #if for all feature tests.
...
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Juan Lang
1155531cb3
- Fix buffer overrun in GetNetworkParams.
...
- Implement GetBest(Route,Interface).
- Implement some AllocateAndGet*FromStack functions.
2003-09-08 19:00:25 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Juan Lang
5cab2b3503
Fixed bug parsing /proc/net/arp for arp table.
2003-09-02 00:55:48 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Robert Lunnon
00c74e940d
Fixed some compile problems under Solaris.
2003-07-09 21:55:09 +00:00
Eric Pouech
9b5cde85a2
Fixed a few bugs in network interface handling (code & test).
2003-06-23 03:32:28 +00:00
Gerald Pfeifer
8da2cbaa30
Unbreak getTcpTable() on Linux-based systems and make it work on BSD
...
and Solaris as well.
2003-06-16 19:37:36 +00:00
Alexandre Julliard
b168f12a48
Fixed wrong length argument in getInterfacePhysicalByName.
2003-05-21 18:26:00 +00:00
Pierre d'Herbemont
30f84a33f1
Include arpa/nameser.h before resolv.h.
2003-05-19 21:41:00 +00:00
Gerald Pfeifer
6d1a1d49ac
In getTcpTable(), guard Linux-specific constants by #ifdef.
2003-05-15 22:55:04 +00:00
Gerald Pfeifer
9512ba5322
Add missing #includes for non-Linux systems.
2003-05-13 23:37:29 +00:00
Alexandre Julliard
18ae9b3da6
Fixed some string overflows.
2003-05-13 04:49:15 +00:00
Alexandre Julliard
2bed48d7cd
Added iphlpapi.spec.def.
2003-05-13 04:48:49 +00:00
Juan Lang
38fa5ad1bc
Added an implementation of iphlpapi.dll; most Get* functions
...
introduced through Win98 are included.
2003-05-13 03:32:20 +00:00