다음을 통해 공유


IPGlobalStatistics.PacketReassembliesRequired 속성

정의

리어셈블리가 필요한 IP(인터넷 프로토콜) 패킷의 수를 가져옵니다.

public:
 abstract property long PacketReassembliesRequired { long get(); };
public abstract long PacketReassembliesRequired { get; }
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
public abstract long PacketReassembliesRequired { get; }
member this.PacketReassembliesRequired : int64
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
member this.PacketReassembliesRequired : int64
Public MustOverride ReadOnly Property PacketReassembliesRequired 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 전송의 최대 크기를 초과하는 패킷은 조각으로 나뉘어 대상에서 다시 조립됩니다.

적용 대상