Hans Leidekker
792eafa465
iphlpapi: Add partial support for the module classes in GetExtendedTcpTable and GetExtendedUdpTable.
2013-07-30 19:12:06 +02:00
Hans Leidekker
8615723699
iphlpapi: Add support for the listener and connection classes in GetExtendedTcpTable.
2013-07-30 19:12:05 +02:00
Filip Navara
7ca40003d2
iphlpapi: Use prefixed WS_ structures to avoid misalignment on OS X builds.
...
Thanks to Hans Leidekker for diagnosing the problem.
2013-03-11 10:41:18 +01:00
Alexandre Julliard
4468a0122f
iphlpapi: Remove an unnecessary DllMain entry point.
2013-02-14 21:37:55 +01:00
Michael Stefaniuc
61a029355e
iphlpapi: Simplify size calculation of structs with var length array.
2012-12-10 11:27:01 +01:00
Frédéric Delanoy
82c97d954d
iphlapi: Fix some leaks (coverity).
2012-11-07 13:56:00 +01:00
Qian Hong
b3e7f71091
iphlpapi: Set DhcpEnabled to TRUE for all interfaces.
2012-09-28 11:29:28 +02:00
Hans Leidekker
bc8876f9ce
iphlpapi: Add partial support for UDP_TABLE_OWNER_MODULE in GetExtendedUdpTable.
2012-09-07 16:44:03 +02:00
Hans Leidekker
18ba68ea62
iphlpapi: Implement GetExtendedUdpTable.
2012-09-07 16:40:31 +02:00
Hans Leidekker
d4ebc5298f
iphlpapi: Reimplement GetTcpTable on top of GetExtendedTcpTable.
2012-04-16 17:49:34 +02:00
Hans Leidekker
e78ac4711c
iphlpapi: Add support for TCP_TABLE_OWNER_PID_ALL in GetExtendedTcpTable.
2012-04-16 17:49:33 +02:00
André Hentschel
b93c3905b0
iphlpapi: Make GetAdaptersAddresses hotpatchable.
2012-03-08 18:55:28 +01:00
Austin English
ce2e7cdc9e
iphlpapi: Add GetTcp6Table/GetTcp6Table2 stubs.
2012-01-26 19:07:43 +01:00
Austin English
a52f88096f
iphlpapi: Add a stub for GetTcpTable2:.
2012-01-25 13:31:25 +01:00
Hans Leidekker
895e7a5f5b
iphlpapi: Add a stub implementation of GetExtendedTcpTable.
2011-12-19 20:15:50 +01:00
Francois Gouget
3fe2d6e5fd
include: Update the nldef.h and *mib.h headers.
2011-12-15 10:49:17 +01:00
Francois Gouget
732f5a7239
include: Define the MIB_IF_OPER_STATUS_XXX constants using an enumeration in ipifcons.h.
2011-12-14 17:54:44 +01:00
Juan Lang
d2236db8c1
iphlpapi: Fix enumerating IPv6 addresses.
2011-11-15 19:37:29 +01:00
Juan Lang
c6bb89a6d6
iphlpapi: Remove unneeded includes.
2011-11-14 15:25:26 +01:00
Jacek Caban
76eba12e1c
iphlpapi: Added PfCreateInterface stub implementation.
2011-06-07 18:11:06 +02:00
Mike Kaplinskiy
e2e98ae36f
iphlpapi: Set the overlapped status to pending as well as returning ERROR_IO_PENDING.
2011-05-23 11:17:06 +02:00
Janne Hakonen
82a2ec13f0
iphlpapi: Changed return value of NotifyAddrChange() stub and added test cases.
2011-02-15 17:24:26 +01:00
Andrew Nguyen
587a9aa9f0
iphlpapi: Correctly compute the buffer offset for the DNS address structure in GetAdaptersAddresses.
...
Spotted with Valgrind.
2011-01-17 15:56:06 +01:00
Timo Teräs
bfc8832ccb
iphlpapi: Fix GetAdaptersAddresses return values.
2010-12-27 15:39:39 +01:00
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
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
Juan Lang
acda9f6ba9
iphlpapi: Don't overwrite last IPv4 address with first IPv6 address.
2010-08-18 09:41:46 +02: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
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
Dan Kegel
22434f490a
iphlpapi: _res is per-thread in glibc.
2010-02-08 17:49:47 +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
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
f0491f61ba
iphlpapi: Implement GetAdaptersAddresses.
2009-04-29 15:50:25 +02: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
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
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
Michael Stefaniuc
3f1a63ec77
iphlpapi: Do not cast zero.
2008-11-04 11:26:40 +01:00
Andrew Talbot
8e638e147e
iphlpapi: Sign-compare warning fix.
2008-08-28 11:24:48 +02:00
Alexandre Julliard
bdf180d2a2
iphlpapi: Fix the return value of GetPerAdapterInfo, with tests.
2008-07-03 11:50:51 +02:00
Juan Lang
199cee194f
iphlpapi: Set the adapter's description to its name in GetAdaptersInfo.
2008-05-21 11:36:46 +02:00
Austin English
f4c4488df8
Spelling fixes.
2008-04-07 13:36:17 +02:00
Austin English
cb2274e690
Spelling fixes.
2008-04-04 11:51:40 +02:00
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