Commit Graph

124 Commits

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