IPGlobalStatistics.PacketsReassembled プロパティ

定義

再構築されたインターネット プロトコル (IP) パケットの数を取得します。

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

プロパティ値

断片化されたパケットのうち、正常に再構築されたパケットの合計数を示す Int64 値。

属性

次のコード例では、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

注釈

IP トランスポートの最大サイズを超えるセッション層パケットはフラグメントに分割され、宛先で再構成されます。 一部のフラグメントが失われたり、設定された時間内に到着しなかったりした場合、再構築は成功しません。

適用対象