Like TCP, UDP has a Checksum field to ensure that the packet header and its contents have arrived as expected.