4 instantiations of TcpStateInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Windows\Network\WindowsTcpStateInfo.cs (4)
23private TcpStateInfo _iPv4Snapshot = new(); 24private TcpStateInfo _iPv6Snapshot = new(); 157var tcpStateInfo = new TcpStateInfo(); 182var tcpStateInfo = new TcpStateInfo();
24 references to TcpStateInfo
Microsoft.Extensions.Diagnostics.ResourceMonitoring (15)
ITcpStateInfoProvider.cs (4)
14/// <returns>An instance of <see cref="TcpStateInfo"/>.</returns> 15TcpStateInfo GetpIpV4TcpStateInfo(); 20/// <returns>An instance of <see cref="TcpStateInfo"/>.</returns> 21TcpStateInfo GetpIpV6TcpStateInfo();
Windows\Network\WindowsNetworkMetrics.cs (2)
50TcpStateInfo stateV4 = _tcpStateInfoProvider.GetpIpV4TcpStateInfo(); 65TcpStateInfo stateV6 = _tcpStateInfoProvider.GetpIpV6TcpStateInfo();
Windows\Network\WindowsTcpStateInfo.cs (9)
23private TcpStateInfo _iPv4Snapshot = new(); 24private TcpStateInfo _iPv6Snapshot = new(); 45public TcpStateInfo GetpIpV4TcpStateInfo() 51public TcpStateInfo GetpIpV6TcpStateInfo() 57internal static void CalculateCount(TcpStateInfo tcpStateInfo, MIB_TCP_STATE state) 152private TcpStateInfo GetSnapshot() 157var tcpStateInfo = new TcpStateInfo(); 177private TcpStateInfo GetIPv6Snapshot() 182var tcpStateInfo = new TcpStateInfo();
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (9)
Linux\LinuxCountersTests.cs (2)
135var tcpIPv4StateInfo = parser.GetTcpIPv4StateInfo(); 136var tcpIPv6StateInfo = parser.GetTcpIPv6StateInfo();
Linux\LinuxNetworkUtilizationParserTests.cs (1)
104var tcp6StateInfo = parser.GetTcpIPv6StateInfo();
Windows\Tcp6TableInfoTests.cs (3)
241var tcpStateInfo = tcp6TableInfo.GetpIpV6TcpStateInfo(); 257var tcpStateInfo = tcp6TableInfo.GetpIpV6TcpStateInfo(); 273var tcpStateInfo = tcp6TableInfo.GetpIpV6TcpStateInfo();
Windows\TcpTableInfoTests.cs (3)
184var tcpStateInfo = tcpTableInfo.GetpIpV4TcpStateInfo(); 200var tcpStateInfo = tcpTableInfo.GetpIpV4TcpStateInfo(); 216var tcpStateInfo = tcpTableInfo.GetpIpV4TcpStateInfo();