src/org/jnetpcap/protocol/tcpip/Tcp.java
@Dynamic(Field.Property.DESCRIPTION)
	public String checksumDescription() {

		if (isFragmented()) {
			return "supressed for fragments";
		}

		if (isPayloadTruncated()) {
			return "supressed for truncated packets";
		}

		final int crc16 = calculateChecksum();
		if (checksum() == crc16) {
			return "correct";
		} else {
			return "incorrect: 0x" + Integer.toHexString(crc16).toUpperCase();
		}
	}
/**
	 * Returns a dynamic description of the checksum field. Specifically it checks
	 * and displays, as description, the state of the checksum field, if it
	 * matches the calculated checksum or not.
	 * 
	 * @return additional information about the state of the checksum field
	 */
Returns a dynamic description of the checksum field. Specifically it checks
and displays, as description, the state of the checksum field, if it
matches the calculated checksum or not.

@return additional information about the state of the checksum field
Returns a dynamic description of the checksum field . Specifically it checks and displays as description the state of the checksum field if it matches the calculated checksum or not . @return additional information about the state of the checksum field
@Dynamic(Field.Property.DESCRIPTION)
	public String checksumDescription() {
		if (isFragmented()) {
			return "supressed for fragments";
		}
		if (isPayloadTruncated()) {
			return "supressed for truncated packets";
		}
		final int crc16 = calculateChecksum();
		if (checksum() == crc16) {
			return "correct";
		} else {
			return "incorrect: 0x" + Integer.toHexString(crc16).toUpperCase();
		}
	}
@ Dynamic ( Field . Property . DESCRIPTION ) public String checksumDescription ( ) { if ( isFragmented ( ) ) { return "supressed for fragments" ; } if ( isPayloadTruncated ( ) ) { return "supressed for truncated packets" ; } final int crc16 = calculateChecksum ( ) ; if ( checksum ( ) == crc16 ) { return "correct" ; } else { return "incorrect: 0x" + Integer . toHexString ( crc16 ) . toUpperCase ( ) ; } }
Returns a dynamic description of the checksum field.
Returns a dynamic description of the checksum field .