|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IP.ICMP
ICMP (Internet Control Message Protocol) API interface.
Method Summary | |
---|---|
int |
getICMPChecksum()
Fetch the ICMP checksum. |
byte[] |
getICMPData()
Fetch the ICMP data as a byte array. |
byte[] |
getICMPHeader()
Fetch the ICMP header as a byte array. |
int |
getMessageCode()
Fetch the ICMP message type, including subcode. |
int |
getMessageMajorCode()
Fetch the ICMP message type code. |
int |
getMessageMinorCode()
Fetch the ICMP message subcode. |
void |
setMessageCode(short code)
Set the ICMP message code and subcode (16 bits) as per getMessageCode() . |
Method Detail |
---|
byte[] getICMPHeader()
byte[] getICMPData()
int getMessageCode()
void setMessageCode(short code)
getMessageCode()
.
code
- 2-byte code value.int getMessageMajorCode()
int getMessageMinorCode()
int getICMPChecksum()
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |