パッケージ org.pcap4j.packet

クラス ArpPacket.ArpHeader

    • メソッドの詳細

      • getHardwareType

        public ArpHardwareType getHardwareType()
        戻り値:
        hardwareType
      • getProtocolType

        public EtherType getProtocolType()
        戻り値:
        protocolType
      • getHardwareAddrLength

        public byte getHardwareAddrLength()
        戻り値:
        hardwareAddrLength
      • getHardwareAddrLengthAsInt

        public int getHardwareAddrLengthAsInt()
        戻り値:
        hardwareAddrLength
      • getProtocolAddrLength

        public byte getProtocolAddrLength()
        戻り値:
        protocolAddrLength
      • getProtocolAddrLengthAsInt

        public int getProtocolAddrLengthAsInt()
        戻り値:
        protocolAddrLength
      • getOperation

        public ArpOperation getOperation()
        戻り値:
        operation
      • getSrcHardwareAddr

        public MacAddress getSrcHardwareAddr()
        戻り値:
        srcHardwareAddr
      • getSrcProtocolAddr

        public InetAddress getSrcProtocolAddr()
        戻り値:
        srcProtocolAddr
      • getDstHardwareAddr

        public MacAddress getDstHardwareAddr()
        戻り値:
        dstHardwareAddr
      • getDstProtocolAddr

        public InetAddress getDstProtocolAddr()
        戻り値:
        dstProtocolAddr
      • 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