src/org/jnetpcap/protocol/lan/Ethernet.java
public boolean checksum(long crc) {
		if (getPostfixLength() < 4) {
			return false;
		}

		final JPacket packet = getPacket();
		packet.order(ByteOrder.BIG_ENDIAN);

		packet.setUInt(packet.size() - 4, crc);

		return true;
	}
/**
	 * Sets the checksum, Ethernet.FCS field in the last 4 bytes of the packet
	 * buffer, which is also the Ethernet trailer part or jNetPcap 'postfix'. The
	 * method checks if last 4 bytes are actually part of physical Ethernet
	 * trailer. If not, the method returns without an error, but FCS is not set.
	 * 
	 * @param crc
	 *          the crc
	 * @return true if checksum was set, otherwise if Ethernet trailer part or
	 *         Ethernet postfix part is less then 4 bytes long, returns false
	 */
Sets the checksum, Ethernet.FCS field in the last 4 bytes of the packet
buffer, which is also the Ethernet trailer part or jNetPcap 'postfix'. The
method checks if last 4 bytes are actually part of physical Ethernet
trailer. If not, the method returns without an error, but FCS is not set.

@param crc
the crc
@return true if checksum was set, otherwise if Ethernet trailer part or
Ethernet postfix part is less then 4 bytes long, returns false
Sets the checksum Ethernet . FCS field in the last 4 bytes of the packet buffer which is also the Ethernet trailer part or jNetPcap ' postfix ' . The method checks if last 4 bytes are actually part of physical Ethernet trailer . If not the method returns without an error but FCS is not set . @param crc the crc @return true if checksum was set otherwise if Ethernet trailer part or Ethernet postfix part is less then 4 bytes long returns false
public boolean checksum(long crc) {
		if (getPostfixLength() < 4) {
			return false;
		}
		final JPacket packet = getPacket();
		packet.order(ByteOrder.BIG_ENDIAN);
		packet.setUInt(packet.size() - 4, crc);
		return true;
	}
public boolean checksum ( long crc ) { if ( getPostfixLength ( ) < 4 ) { return false ; } final JPacket packet = getPacket ( ) ; packet . order ( ByteOrder . BIG_ENDIAN ) ; packet . setUInt ( packet . size ( ) - 4 , crc ) ; return true ; }
Sets the checksum, Ethernet.FCS field in the last 4 bytes of the packet
 buffer, which is also the Ethernet trailer part or jNetPcap 'postfix'.
Sets the checksum Ethernet . FCS field in the last 4 bytes of the packet buffer which is also the Ethernet trailer part or jNetPcap ' postfix ' .