Class IcmpV4InformationRequestPacket.IcmpV4InformationRequestHeader

    • Field Detail

      • ICMP_IDENTIFIABLE_HEADER_SIZE

        protected static final int ICMP_IDENTIFIABLE_HEADER_SIZE
        See Also:
        Constant Field Values
    • Method Detail

      • getHeaderName

        protected java.lang.String getHeaderName()
      • getIdentifier

        public short getIdentifier()
        Returns:
        identifier
      • getIdentifierAsInt

        public int getIdentifierAsInt()
        Returns:
        identifier
      • getSequenceNumber

        public short getSequenceNumber()
        Returns:
        sequenceNumber
      • getSequenceNumberAsInt

        public int getSequenceNumberAsInt()
        Returns:
        sequenceNumber
      • length

        public int length()
        Description copied from class: 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.
        Specified by:
        length in interface Packet.Header
        Overrides:
        length in class AbstractPacket.AbstractHeader
        Returns:
        the length of the byte stream of the header represented by this object in bytes