public class IP4Header extends Header
Modifier and Type | Method | Description |
---|---|---|
String |
getDscp() |
Returns the dscp of this IPv4 Header.
|
String |
getDstAddr() |
Returns the destination IP address of this IPv4 Header.
|
String |
getEcn() |
Returns the ecn of this IPv4 Header.
|
String |
getFlag() |
Returns the first flag of this IPv4 Header.
|
String |
getFlag2() |
Returns the second flag of this IPv4 Header.
|
String |
getFragmentOffset() |
Returns the fragment offset of this IPv4 Header.
|
String |
getHeaderChecksum() |
Returns the header check sum.
|
int |
getHeaderLen() |
Returns the length of this header.
|
String |
getIdentification() |
Returns the indentification of this IPv4 Header.
|
String |
getInternetHeaderLength() |
Returns the Internet Header length of this IPv4 Header.
|
Header |
getNextHeader() |
Returns the next header in this packet.
|
String |
getOptions() |
Returns the option of this IPv4 header.
|
String |
getProtocol() |
Returns the protocol of this IPv4 Header.
|
String |
getSrcAddr() |
Returns the source IP address of this IPv4 Header.
|
String |
getTimeToLive() |
Returns the time to live of this IPv4 Header.
|
String |
getTotalLength() |
Returns the total length of this IPv4 Header.
|
String |
getTypeOfService() |
Returns the type of service of this IPv4 Header.
|
String |
getVersion() |
Returns the version of this IPv4 Header.
|
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 String toString(FormatProperties filter)
public String getVersion()
public String getInternetHeaderLength()
public String getTypeOfService()
public String getDscp()
public String getEcn()
public String getTotalLength()
public String getIdentification()
public String getFlag()
public String getFlag2()
public String getFragmentOffset()
public String getTimeToLive()
public String getProtocol()
public String getHeaderChecksum()
public String getSrcAddr()
public String getDstAddr()
public String getOptions()
Copyright © 2024. All rights reserved.