public class TCPHeader extends Header
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getACKFlag()
Returns the ack Flag for this TCP header.
|
java.lang.String |
getAckNum()
Returns the ack number for this TCP header.
|
java.lang.String |
getCheckSum()
Returns the checksum for this TCP header.
|
java.lang.String |
getCWRFlag()
Returns the cwr Flag for this TCP header.
|
java.lang.String |
getDataOffset()
Returns the data offset for this TCP header.
|
java.lang.String |
getDstPort()
Returns the destination port for this TCP header.
|
java.lang.String |
getECEFlag()
Returns the ece Flag for this TCP header.
|
java.lang.String |
getFINFlag()
Returns the fin Flag for this TCP header.
|
int |
getHeaderLen()
Returns the length of this header.
|
java.lang.String |
getMaximumSegmentSize()
Returns the Maximum Segment Size option for this TCP header.
|
java.lang.String |
getOption()
Returns the first 8 bits of the options for this TCP header.
|
java.lang.String |
getOptions()
Returns the options for this TCP header.
|
java.lang.String |
getPSHFlag()
Returns the psh Flag for this TCP header.
|
java.lang.String |
getRSTFlag()
Returns the rst Flag for this TCP header.
|
java.lang.String |
getSegmentSize()
Returns the Segment Size option for this TCP header.
|
java.lang.String |
getSequence()
Returns the sequence for this TCP header.
|
java.lang.String |
getSrcPort()
Returns the source port for this TCP header.
|
java.lang.String |
getSYNFlag()
Returns the syn Flag for this TCP header.
|
java.lang.String |
getUrgentPointer()
Returns the urgent pointer for this TCP header.
|
java.lang.String |
getURGFlag()
Returns the urg Flag for this TCP header.
|
java.lang.String |
getWindow()
Returns the window for this TCP header.
|
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 getSrcPort()
public java.lang.String getDstPort()
public java.lang.String getSequence()
public java.lang.String getAckNum()
public java.lang.String getDataOffset()
public java.lang.String getCWRFlag()
public java.lang.String getECEFlag()
public java.lang.String getURGFlag()
public java.lang.String getACKFlag()
public java.lang.String getPSHFlag()
public java.lang.String getRSTFlag()
public java.lang.String getSYNFlag()
public java.lang.String getFINFlag()
public java.lang.String getWindow()
public java.lang.String getCheckSum()
public java.lang.String getUrgentPointer()
public java.lang.String getOptions()
public java.lang.String getOption()
public java.lang.String getMaximumSegmentSize()
public java.lang.String getSegmentSize()