public class Ipv4Activity extends IpActivity
Ip4 object.
Instances of this class are excluded from output by default in order to decrease verbosity,
AbstractActivity.setExcludedFromOutput(boolean) may be called to change this behaviour.PROPERTY_ADD_FRAME_NUMBERS, PROPERTY_NEW_END_INSTANT, PROPERTY_NEW_START_INSTANTsource| Constructor and Description |
|---|
Ipv4Activity(PcapActivity source,
org.krakenapps.pcap.decoder.ip.Ipv4Packet ipv4Packet)
Constructs a new IPv4 activity that will not be included in the final output.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDifferentiatedServicesCodePoint() |
int |
getExplicitCongestionNotification() |
int |
getFlags() |
int |
getFragmentOffset() |
int |
getHeaderChecksum() |
int |
getIdentification() |
int |
getInternetHeaderLength() |
org.jnetpcap.protocol.network.Ip4 |
getIpv4() |
byte[] |
getOptions() |
int |
getTimeToLive() |
int |
getTotalLength() |
String |
toString() |
getDestinationAddress, getDestinationAddressAsString, getPcapActivity, getProtocol, getSourceAddress, getSourceAddressAsString, getVersionisReplaced, replaceActivity, setReplacedaddOptionalField, addPropertyChangeListener, addPropertyChangeListener, extendActivity, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, removeReplacedActivity, setDescription, setDestinationAddress, setEndInstant, setExcludedFromOutput, setSourceAddress, setStartInstant, writeCsvRecordgetSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, getActivityType, getCompoundFrameNumbers, getDescription, getEndInstant, getEndTimestamp, getOptionalFields, getStartInstant, getStartTimestamp, isExcludedFromOutput, removePropertyChangeListener, removePropertyChangeListener, setExcludedFromOutputpublic Ipv4Activity(PcapActivity source, org.krakenapps.pcap.decoder.ip.Ipv4Packet ipv4Packet)
source - the Pcap activity from which this packet was decoded (final one, if fragmented).ipv4Packet - the decoded IPv4 packet (Kraken)public int getExplicitCongestionNotification()
IllegalStateException - since it is not yet implementedpublic int getInternetHeaderLength()
public int getDifferentiatedServicesCodePoint()
public int getTotalLength()
public int getIdentification()
public int getFlags()
public int getFragmentOffset()
public int getTimeToLive()
public int getHeaderChecksum()
public byte[] getOptions()
public org.jnetpcap.protocol.network.Ip4 getIpv4()
public String toString()
toString in class IpActivityCopyright © 2013–2015 Institute of networks and security. All rights reserved.