1 instantiation of LinuxNetworkInterface
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\LinuxNetworkInterface.cs (1)
96
var lni = new
LinuxNetworkInterface
(Marshal.PtrToStringUTF8((IntPtr)nii->Name)!, nii->InterfaceIndex, systemProperties);
14 references to LinuxNetworkInterface
System.Net.NetworkInformation (14)
System\Net\NetworkInformation\LinuxIPInterfaceProperties.cs (4)
12
private readonly
LinuxNetworkInterface
_linuxNetworkInterface;
19
public LinuxIPInterfaceProperties(
LinuxNetworkInterface
lni,
LinuxNetworkInterface
.LinuxNetworkInterfaceSystemProperties systemProperties)
56
public GatewayIPAddressInformationCollection GetGatewayAddresses(
LinuxNetworkInterface
.LinuxNetworkInterfaceSystemProperties systemProperties)
System\Net\NetworkInformation\LinuxIPv4InterfaceProperties.cs (2)
11
private readonly
LinuxNetworkInterface
_linuxNetworkInterface;
14
public LinuxIPv4InterfaceProperties(
LinuxNetworkInterface
linuxNetworkInterface)
System\Net\NetworkInformation\LinuxIPv6InterfaceProperties.cs (2)
10
private readonly
LinuxNetworkInterface
_linuxNetworkInterface;
12
public LinuxIPv6InterfaceProperties(
LinuxNetworkInterface
linuxNetworkInterface)
System\Net\NetworkInformation\LinuxNetworkInterface.cs (4)
92
Dictionary<int,
LinuxNetworkInterface
> interfacesByIndex = new Dictionary<int,
LinuxNetworkInterface
>(interfaceCount);
96
var
lni = new LinuxNetworkInterface(Marshal.PtrToStringUTF8((IntPtr)nii->Name)!, nii->InterfaceIndex, systemProperties);
121
if (interfacesByIndex.TryGetValue(ai->InterfaceIndex, out
LinuxNetworkInterface
? lni))
System\Net\NetworkInformation\NetworkInterfacePal.Linux.cs (2)
11
return
LinuxNetworkInterface
.GetLinuxNetworkInterfaces();
38
NetworkInterface[] interfaces =
LinuxNetworkInterface
.GetLinuxNetworkInterfaces();