Rob Shearman
a9e9673460
iphlpapi: Implement GetBestInterfaceEx.
2008-01-17 15:33:49 +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
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
Stephen R. Veit
5731967d2d
iphlpapi: Fix GetAdaptersInfo return value for IpMask.
2006-10-30 11:16:29 +01:00
Hans Leidekker
f5095df935
iphlpapi: Win64 printf format warning fixes.
2006-10-09 12:44:06 +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
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
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
f8ee161a1b
Fixed some traces to use the right printf format and avoid typecasts.
2005-09-12 10:30:05 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Eric Pouech
809edabfbe
Const correctness fixes.
2005-06-27 09:53:46 +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
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
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
Alexandre Julliard
d03300eca3
Define INADDR_NONE if needed (reported by Robert Lunnon).
2004-01-15 00:25:41 +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
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
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Eric Pouech
9b5cde85a2
Fixed a few bugs in network interface handling (code & test).
2003-06-23 03:32:28 +00:00