IPGlobalStatistics.PacketsReassembled Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan jumlah paket Protokol Internet (IP) yang disusun ulang.
public:
abstract property long PacketsReassembled { long get(); };
public abstract long PacketsReassembled { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public abstract long PacketsReassembled { get; }
member this.PacketsReassembled : int64
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
member this.PacketsReassembled : int64
Public MustOverride ReadOnly Property PacketsReassembled As Long
Nilai Properti
Nilai Int64 yang menentukan jumlah total paket terfragmentasi yang telah berhasil disusun ulang.
- Atribut
Contoh
Contoh kode berikut menampilkan statistik susun ulang untuk paket IP.
void ShowFragmentationStatistics()
{
IPGlobalProperties ^ properties = IPGlobalProperties::GetIPGlobalProperties();
IPGlobalStatistics ^ ipstat = properties->GetIPv4GlobalStatistics();
Console::WriteLine( " Reassembly Data:" );
Console::WriteLine( " Reassembly Timeout .................. : {0}",
ipstat->PacketReassemblyTimeout );
Console::WriteLine( " Reassemblies Required ............... : {0}",
ipstat->PacketReassembliesRequired );
Console::WriteLine( " Packets Reassembled ................. : {0}",
ipstat->PacketsReassembled );
Console::WriteLine( " Packets Fragmented .................. : {0}",
ipstat->PacketsFragmented );
Console::WriteLine( " Fragment Failures ................... : {0}",
ipstat->PacketFragmentFailures );
}
public static void ShowFragmentationStatistics()
{
IPGlobalProperties properties = IPGlobalProperties.GetIPGlobalProperties();
IPGlobalStatistics ipstat = properties.GetIPv4GlobalStatistics();
Console.WriteLine(" Reassembly Data:");
Console.WriteLine(" Reassembly Timeout .................. : {0}",
ipstat.PacketReassemblyTimeout);
Console.WriteLine(" Reassemblies Required ............... : {0}",
ipstat.PacketReassembliesRequired);
Console.WriteLine(" Packets Reassembled ................. : {0}",
ipstat.PacketsReassembled);
Console.WriteLine(" Packets Fragmented .................. : {0}",
ipstat.PacketsFragmented);
Console.WriteLine(" Fragment Failures ................... : {0}",
ipstat.PacketFragmentFailures);
}
Public Shared Sub ShowFragmentationStatistics()
Dim properties As IPGlobalProperties = IPGlobalProperties.GetIPGlobalProperties()
Dim ipstat As IPGlobalStatistics = properties.GetIPv4GlobalStatistics()
Console.WriteLine(" Reassembly Data:")
Console.WriteLine(" Reassembly Timeout .................. : {0}", ipstat.PacketReassemblyTimeout)
Console.WriteLine(" Reassemblies Required ............... : {0}", ipstat.PacketReassembliesRequired)
Console.WriteLine(" Packets Reassembled ................. : {0}", ipstat.PacketsReassembled)
Console.WriteLine(" Packets Fragmented .................. : {0}", ipstat.PacketsFragmented)
Console.WriteLine(" Fragment Failures ................... : {0}", ipstat.PacketFragmentFailures)
End Sub
Keterangan
Paket lapisan sesi yang melebihi ukuran maksimum untuk transportasi IP dipecah menjadi fragmen dan disusun ulang di tujuan. Jika beberapa fragmen hilang atau tidak tiba dalam waktu yang ditetapkan, rakitan ulang tidak berhasil.