Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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
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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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
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
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
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 e8a339c1d2 Portability fixes for LSB compatibility. 2004-03-01 21:32:02 +00:00
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +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
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
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
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
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