パッケージ org.pcap4j.packet

クラス IcmpV4EchoPacket.IcmpV4EchoHeader

    • フィールドの詳細

      • ICMP_IDENTIFIABLE_HEADER_SIZE

        protected static final int ICMP_IDENTIFIABLE_HEADER_SIZE
        関連項目:
        定数フィールド値
    • メソッドの詳細

      • getHeaderName

        protected String getHeaderName()
      • getIdentifier

        public short getIdentifier()
        戻り値:
        identifier
      • getIdentifierAsInt

        public int getIdentifierAsInt()
        戻り値:
        identifier
      • getSequenceNumber

        public short getSequenceNumber()
        戻り値:
        sequenceNumber
      • getSequenceNumberAsInt

        public int getSequenceNumberAsInt()
        戻り値:
        sequenceNumber
      • length

        public int length()
        クラスからコピーされた説明: AbstractPacket.AbstractHeader
        Returns the header length in bytes. This method calls calcLength() and caches the return value when it is called for the first time, and then, this method returns the cached value from the second time.
        定義:
        length インタフェース内 Packet.Header
        オーバーライド:
        length クラス内 AbstractPacket.AbstractHeader
        戻り値:
        the length of the byte stream of the header represented by this object in bytes