|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sourceforge.jpcap.net.ICMPEncoding
ICMP protocol encoding information.
Field Summary | |
static int |
HEADER_LEN
Length in bytes of an ICMP header. |
Constructor Summary | |
ICMPEncoding()
|
Method Summary | |
static ICMPPacket |
create(int lLen,
byte[] bytes)
ICMPPacket factory. |
static int |
extractICMPMessageCode(int lLen,
byte[] packetBytes)
Extract the ICMP message code from packet data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int HEADER_LEN
Constructor Detail |
public ICMPEncoding()
Method Detail |
public static ICMPPacket create(int lLen, byte[] bytes)
public static int extractICMPMessageCode(int lLen, byte[] packetBytes)
llen
- the length of the link-level header.packetBytes
- packet bytes, including the link-layer and IP headers.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |