public class ARPHeader extends Header
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestinationHardwareAddress()
Returns the hardware address of the destination of this packet.
|
java.lang.String |
getDestinationIPAddress()
Returns the IP address of the destination of this packet.
|
java.lang.String |
getHardwareLength()
Returns the byte length of each hardware address of this packet.
|
java.lang.String |
getHardwareType()
Returns the hardware type of this packet.
|
int |
getHeaderLen()
Returns the length of this header.
|
java.lang.String |
getOpcode()
Returns the opcode of this packet.
|
java.lang.String |
getProtocol()
Returns the protocol of this packet
|
java.lang.String |
getProtocolLength()
Returns the byte length of each protocol address of this packet.
|
java.lang.String |
getSourceHardwareAddress()
Returns the hardware address of the sender of this packet.
|
java.lang.String |
getSourceIPAddress()
Returns the IP address of the source of this packet.
|
java.lang.String |
toString(FormatProperties filter)
Returns a printable representation of this header.
|
getHeaderData, getName, getNextHeader, getPayload, getPayLoad, getPayloadBytes, getPayloadHexString, getType, printHexHeader, toHexString, toString
public int getHeaderLen()
getHeaderLen
in class Header
public java.lang.String toString(FormatProperties filter)
public java.lang.String getHardwareType()
public java.lang.String getProtocol()
public java.lang.String getHardwareLength()
public java.lang.String getProtocolLength()
public java.lang.String getOpcode()
public java.lang.String getSourceHardwareAddress()
public java.lang.String getSourceIPAddress()
public java.lang.String getDestinationHardwareAddress()
public java.lang.String getDestinationIPAddress()