Beispiel #1
0
 /** Fetch the ICMP header checksum. */
 public int getICMPChecksum() {
   return ArrayHelper.extractInteger(_bytes, _ipOffset + ICMP_CSUM_POS, ICMP_CSUM_LEN);
 }
Beispiel #2
0
 /** Fetch the ICMP message subcode. */
 public int getMessageMinorCode() {
   return ArrayHelper.extractInteger(_bytes, _ipOffset + ICMP_CODE_POS + 1, ICMP_CODE_LEN);
 }