29 references to Sys
System.Net.NetworkInformation (29)
src\libraries\Common\src\Interop\Unix\Interop.Errors.cs (3)
123
_error = Interop.
Sys
.ConvertErrorPlatformToPal(errno);
140
get { return _rawErrno == -1 ? (_rawErrno = Interop.
Sys
.ConvertErrorPalToPlatform(_error)) : _rawErrno; }
145
return Interop.
Sys
.StrError(RawErrno);
src\libraries\Common\src\System\Net\NetworkInformation\HostInformationPal.Unix.cs (2)
10
return Interop.
Sys
.GetHostName();
15
return Interop.
Sys
.GetDomainName();
System\Net\NetworkInformation\IPAddressUtil.cs (1)
35
public static unsafe IPAddress GetIPAddressFromNativeInfo(Interop.
Sys
.IpAddressInfo* addressInfo)
System\Net\NetworkInformation\LinuxIPGlobalStatistics.cs (3)
94
private static unsafe void ProcessIpv4Address(void* pContext, byte* ifaceName, Interop.
Sys
.IpAddressInfo* ipAddr)
100
private static unsafe void ProcessIpv6Address(void* pContext, byte* ifaceName, Interop.
Sys
.IpAddressInfo* ipAddr, uint* scopeId)
108
Interop.
Sys
.EnumerateInterfaceAddresses(&count,
System\Net\NetworkInformation\LinuxNetworkInterface.cs (4)
79
Interop.
Sys
.NetworkInterfaceInfo* nii = null;
80
Interop.
Sys
.IpAddressInfo* ai = null;
83
if (Interop.
Sys
.GetNetworkInterfaces(&interfaceCount, &nii, &addressCount, &ai) != 0)
85
string message = Interop.
Sys
.GetLastErrorInfo().GetErrorMessage();
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (9)
158
Interop.Error result = Interop.
Sys
.CreateNetworkChangeListenerSocket(&newSocket);
161
string message = Interop.
Sys
.GetLastErrorInfo().GetErrorMessage();
218
=> Interop.
Sys
.ReadEvents(socket.SafeHandle, &ProcessEvent);
222
private static void ProcessEvent(IntPtr socket, Interop.
Sys
.NetworkChangeKind kind)
224
if (kind != Interop.
Sys
.NetworkChangeKind.None)
238
private static void OnSocketEvent(Interop.
Sys
.NetworkChangeKind kind)
242
case Interop.
Sys
.NetworkChangeKind.AddressAdded:
243
case Interop.
Sys
.NetworkChangeKind.AddressRemoved:
246
case Interop.
Sys
.NetworkChangeKind.AvailabilityChanged:
System\Net\NetworkInformation\StringParsingHelpers.Connections.cs (1)
316
return Interop.
Sys
.MapTcpState((int)state);
System\Net\NetworkInformation\UnixIPGlobalProperties.cs (3)
71
private static unsafe void ProcessIpv4Address(void* pContext, byte* ifaceName, Interop.
Sys
.IpAddressInfo* ipAddr)
89
private static unsafe void ProcessIpv6Address(void* pContext, byte* ifaceName, Interop.
Sys
.IpAddressInfo* ipAddr, uint* scopeId)
113
Interop.
Sys
.EnumerateInterfaceAddresses(&context, &ProcessIpv4Address, &ProcessIpv6Address, null);
System\Net\NetworkInformation\UnixNetworkInterface.cs (3)
83
protected unsafe void ProcessIpv4Address(Interop.
Sys
.IpAddressInfo* addressInfo)
90
protected unsafe void ProcessIpv6Address(Interop.
Sys
.IpAddressInfo* addressInfo, uint scopeId)
99
protected unsafe void ProcessLinkLayerAddress(Interop.
Sys
.LinkLayerAddressInfo* llAddr)