Commit Graph

106 Commits

Author SHA1 Message Date
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