public static final class ArpPacket.ArpHeader extends AbstractPacket.AbstractHeader
Modifier and Type | Method and Description |
---|---|
protected String |
buildString() |
MacAddress |
getDstHardwareAddr() |
InetAddress |
getDstProtocolAddr() |
byte |
getHardwareLength() |
int |
getHardwareLengthAsInt() |
ArpHardwareType |
getHardwareType() |
ArpOperation |
getOperation() |
byte |
getProtocolLength() |
int |
getProtocolLengthAsInt() |
EtherType |
getProtocolType() |
protected List<byte[]> |
getRawFields() |
MacAddress |
getSrcHardwareAddr() |
InetAddress |
getSrcProtocolAddr() |
int |
length() |
buildHexString, buildRawData, calcHashCode, calcLength, equals, getRawData, hashCode, toHexString, toString
public ArpHardwareType getHardwareType()
public EtherType getProtocolType()
public byte getHardwareLength()
public int getHardwareLengthAsInt()
public byte getProtocolLength()
public int getProtocolLengthAsInt()
public ArpOperation getOperation()
public MacAddress getSrcHardwareAddr()
public InetAddress getSrcProtocolAddr()
public MacAddress getDstHardwareAddr()
public InetAddress getDstProtocolAddr()
protected List<byte[]> getRawFields()
getRawFields
in class AbstractPacket.AbstractHeader
public int length()
length
in interface Packet.Header
length
in class AbstractPacket.AbstractHeader
protected String buildString()
buildString
in class AbstractPacket.AbstractHeader
Copyright © 2014. All Rights Reserved.