Commit Graph
13 Commits
Author SHA1 Message Date
Miguel de Icaza 54616d8862 2008-11-25 Atsushi Enomoto <[email protected]>
* Makefile : update old nunit options that break upgrade to 2.4.

2008-11-03 Gonzalo Paniagua Javier <[email protected]>

svn path=/trunk/mcs/; revision=120282
2008-11-29 20:25:30 +00:00
Gonzalo Paniagua Javier ec5069a12d 2008-11-29 Gonzalo Paniagua Javier <[email protected]>
* IPAddressCollection.cs: added an internal method to make the
	collection read-only.
	* IPInterfaceProperties.cs: read DNS client configuration from
	/etc/resolv.conf.
	* NetworkInterface.cs: dummy Speed property for linux.

	Bug #450211 fixed.


svn path=/trunk/mcs/; revision=120281
2008-11-29 19:09:46 +00:00
Gonzalo Paniagua Javier 0ab75f9991 2008-10-04 Gonzalo Paniagua Javier <[email protected]>
* NetworkInterface.cs: detect wireless 802.11 on linux.


svn path=/trunk/mcs/; revision=114857
2008-10-05 02:01:08 +00:00
Gonzalo Paniagua Javier 7de20eb8b6 2008-09-28 Gonzalo Paniagua Javier <[email protected]>
* NetworkInterface.cs: special case for loopback interfaces so that
	their a physical interface address is PhysicalInterfaceAddress.None.
	Fixes bug #422118.


svn path=/trunk/mcs/; revision=114343
2008-09-28 23:20:11 +00:00
Marek Habersack 8d78815a10 2008-07-14 Marek Habersack <[email protected]>
* NetworkInterface.cs: implemented support for Linux. Parts
	contributed by Eric Butler ([email protected]), thanks!

	* GatewayIPAddressInformationCollection.cs,
	IPInterfaceProperties.cs, IPAddressInformationCollection.cs: added
	support for Linux. Patch contributed by Eric Butler
	([email protected]), thanks!

	* IPv4InterfaceProperties.cs: implemented support for Linux.

	* LinuxNetworkInterfaceMarshal.cs: added. Contains a set of
	Linux-specific structures required for accessing the network
	information. Patch contributed by Eric Butler
	([email protected]), thanks!

	* MulticastIPAddressInformation.cs: added support for Linux
	multicast information. Patch contributed by Eric Butler
	([email protected]), thanks!

	* IPv4InterfaceStatistics.cs: use the parent IfacePath to get the
	path to the interface description file.

	* UnicastIPAddressInformation.cs: added stubs for
	LinuxUnicastIPAddressInformation. Patch contributed by Eric Butler
	([email protected]), thanks!

	* Ping.cs: Use /bin/ping when running as non-root user
	(implementation by Jackson Harper <[email protected]>) or use
	raw sockets if running as root or if the current process has the
	CAP_NET_RAW Linux capability set while running as an unprivileged
	user.


svn path=/trunk/mcs/; revision=107890
2008-07-14 15:37:21 +00:00
Marek Safar bdd9de656e Fixed few warnings
svn path=/trunk/mcs/; revision=107455
2008-07-08 10:34:18 +00:00
Miguel de Icaza bd9e32f5d7 Commit
svn path=/trunk/mcs/; revision=97901
2008-03-10 20:11:46 +00:00
Miguel de Icaza a365c3318d 2008-02-18 Miguel de Icaza <[email protected]>
* IPv4InterfaceStatistics.cs: Implemented Linux support.

	* NetworkInterface.cs: Implemented Linux support.

	TODO: still missing GetIPProperties.

svn path=/trunk/mcs/; revision=96155
2008-02-19 15:24:19 +00:00
Marek Safar e61dde083e Warnings cleanup
svn path=/trunk/mcs/; revision=89678
2007-11-15 14:14:49 +00:00
Miguel de Icaza c54dd89a05 2007-09-29 Miguel de Icaza <[email protected]>
* NetworkInterface.cs (GetAllNetworkInterfaces): return an empty
	array instead of throwing an exception on operating systems where

svn path=/trunk/mcs/; revision=86646
2007-09-29 19:59:03 +00:00
Atsushi Eno 69fc63dda1 2007-09-03 Atsushi Enomoto <[email protected]>
* IPGlobalStatistics.cs : Mib-* class is nonpublic.
	* Win32NetworkInterfaceMarshal.cs IPv4InterfaceProperties.cs
	  IPGlobalProperties.cs IPInterfaceProperties.cs
	  NetworkInterface.cs : move Win32NetworkInterfaceMarshal.FixedInfo to
	  Win32_FIXED_INFO.Instance and share it with Win32IPGlobalProperties.
	  Fixed GetUdp[6]Table() / GetTcp[6]Table() marshalling issue.


svn path=/trunk/mcs/; revision=85207
2007-09-03 08:29:38 +00:00
Atsushi Eno 7fb299fbbe 2007-08-29 Atsushi Enomoto <[email protected]>
* System.dll.sources : added Win32NetworkInterfaceMarshal.cs.

	* NetworkInterface.cs,
	  IPv4InterfaceStatistics.cs
	  IPInterfaceProperties.cs
	  IPv4InterfaceProperties.cs
	  IPv6InterfaceProperties.cs
	  IPAddressCollection.cs
	  GatewayIPAddressInformation.cs
	  GatewayIPAddressInformationCollection.cs
	  IPAddressInformation.cs
	  IPAddressInformationCollection.cs
	  MulticastIPAddressInformation.cs
	  MulticastIPAddressInformationCollection.cs
	  UnicastIPAddressInformation.cs
	  UnicastIPAddressInformationCollection.cs
	  Win32NetworkInterfaceMarshal.cs (new) :
	  NetworkInterface implementation using Win32 API.

	  Not sure how MIB-based implementation (for Linux) is possible but
	  it will follow.


svn path=/trunk/mcs/; revision=85018
2007-08-29 18:05:59 +00:00
Gonzalo Paniagua Javier 601398134b 2006-02-24 Gonzalo Paniagua Javier <[email protected]>
* UnicastIPAddressInformation.cs:
	* PingException.cs:
	* TcpConnectionInformation.cs:
	* IPv4InterfaceStatistics.cs:
	* NetworkInformationException.cs:
	* IPAddressInformation.cs:
	* MulticastIPAddressInformationCollection.cs:
	* TcpStatistics.cs:
	* IPGlobalStatistics.cs:
	* NetworkInformationPermission.cs:
	* MulticastIPAddressInformation.cs:
	* IcmpV4Statistics.cs:
	* IcmpV6Statistics.cs:
	* IPv4InterfaceProperties.cs:
	* PhysicalAddress.cs:
	* IPv6InterfaceProperties.cs:
	* GatewayIPAddressInformationCollection.cs:
	* ChangeLog: Modified file.
	* UnicastIPAddressInformationCollection.cs:
	* IPAddressCollection.cs:
	* NetworkInformationPermissionAttribute.cs:
	* Ping.cs:
	* NetworkChange.cs:
	* IPAddressInformationCollection.cs:
	* UdpStatistics.cs:
	* GatewayIPAddressInformation.cs:
	* IPGlobalProperties.cs:
	* IPInterfaceProperties.cs:
	* NetworkInterface.cs: implemented or stubbed out.


svn path=/trunk/mcs/; revision=57264
2006-02-24 22:47:15 +00:00