public class IP4Header extends Header
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDscp()
Returns the dscp of this IPv4 Header.
|
java.lang.String |
getDstAddr()
Returns the destination IP address of this IPv4 Header.
|
java.lang.String |
getEcn()
Returns the ecn of this IPv4 Header.
|
java.lang.String |
getFlag()
Returns the first flag of this IPv4 Header.
|
java.lang.String |
getFlag2()
Returns the second flag of this IPv4 Header.
|
java.lang.String |
getFragmentOffset()
Returns the fragment offset of this IPv4 Header.
|
java.lang.String |
getHeaderChecksum()
Returns the header check sum.
|
int |
getHeaderLen()
Returns the length of this header.
|
java.lang.String |
getIdentification()
Returns the indentification of this IPv4 Header.
|
java.lang.String |
getInternetHeaderLength()
Returns the Internet Header length of this IPv4 Header.
|
Header |
getNextHeader()
Returns the next header in this packet.
|
java.lang.String |
getOptions()
Returns the option of this IPv4 header.
|
java.lang.String |
getProtocol()
Returns the protocol of this IPv4 Header.
|
java.lang.String |
getSrcAddr()
Returns the source IP address of this IPv4 Header.
|
java.lang.String |
getTimeToLive()
Returns the time to live of this IPv4 Header.
|
java.lang.String |
getTotalLength()
Returns the total length of this IPv4 Header.
|
java.lang.String |
getTypeOfService()
Returns the type of service of this IPv4 Header.
|
java.lang.String |
getVersion()
Returns the version of this IPv4 Header.
|
java.lang.String |
toString(FormatProperties filter)
Returns a printable representation of this header.
|
getHeaderData, getName, getPayload, getPayLoad, getPayloadBytes, getPayloadHexString, getType, printHexHeader, toHexString, toString
public int getHeaderLen()
Header
getHeaderLen
in class Header
public Header getNextHeader()
Header
getNextHeader
in class Header
public java.lang.String toString(FormatProperties filter)
public java.lang.String getVersion()
public java.lang.String getInternetHeaderLength()
public java.lang.String getTypeOfService()
public java.lang.String getDscp()
public java.lang.String getEcn()
public java.lang.String getTotalLength()
public java.lang.String getIdentification()
public java.lang.String getFlag()
public java.lang.String getFlag2()
public java.lang.String getFragmentOffset()
public java.lang.String getTimeToLive()
public java.lang.String getProtocol()
public java.lang.String getHeaderChecksum()
public java.lang.String getSrcAddr()
public java.lang.String getDstAddr()
public java.lang.String getOptions()