Commit Graph

269 Commits

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