|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jpcap.Packet
This is a root class of the all the packets captured by Jpcap
.
Field Summary | |
int |
caplen
Captured length |
byte[] |
data
Packet data (excluding the header) |
DatalinkPacket |
datalink
Datalink layer header |
byte[] |
header
Header data |
int |
len
Length of this packet |
long |
sec
Captured timestamp (sec) |
long |
usec
Captured timestamp (micro sec) |
Constructor Summary | |
Packet()
|
Method Summary | |
java.lang.String |
toString()
Returns a string representation of this packet Format: sec:usec |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public long sec
public long usec
public int caplen
public int len
public DatalinkPacket datalink
public byte[] header
public byte[] data
Constructor Detail |
public Packet()
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |