public static final class TcpPacket.TcpHeader extends AbstractPacket.AbstractHeader
Modifier and Type | Method and Description |
---|---|
protected String |
buildString() |
protected int |
calcLength() |
boolean |
getAck() |
int |
getAcknowledgmentNumber() |
long |
getAcknowledgmentNumberAsLong() |
short |
getChecksum() |
byte |
getDataOffset() |
int |
getDataOffsetAsInt() |
TcpPort |
getDstPort() |
boolean |
getFin() |
List<TcpPacket.TcpOption> |
getOptions() |
byte[] |
getPadding() |
boolean |
getPsh() |
protected List<byte[]> |
getRawFields() |
byte |
getReserved() |
boolean |
getRst() |
int |
getSequenceNumber() |
long |
getSequenceNumberAsLong() |
TcpPort |
getSrcPort() |
boolean |
getSyn() |
boolean |
getUrg() |
short |
getUrgentPointer() |
int |
getUrgentPointerAsInt() |
short |
getWindow() |
int |
getWindowAsInt() |
buildHexString, buildRawData, calcHashCode, equals, getRawData, hashCode, length, toHexString, toString
public TcpPort getSrcPort()
public TcpPort getDstPort()
public int getSequenceNumber()
public long getSequenceNumberAsLong()
public int getAcknowledgmentNumber()
public long getAcknowledgmentNumberAsLong()
public byte getDataOffset()
public int getDataOffsetAsInt()
public byte getReserved()
public boolean getUrg()
public boolean getAck()
public boolean getPsh()
public boolean getRst()
public boolean getSyn()
public boolean getFin()
public short getWindow()
public int getWindowAsInt()
public short getChecksum()
public short getUrgentPointer()
public int getUrgentPointerAsInt()
public List<TcpPacket.TcpOption> getOptions()
public byte[] getPadding()
protected List<byte[]> getRawFields()
getRawFields
in class AbstractPacket.AbstractHeader
protected int calcLength()
calcLength
in class AbstractPacket.AbstractHeader
protected String buildString()
buildString
in class AbstractPacket.AbstractHeader
Copyright © 2014. All Rights Reserved.