The checksum is recomputed with the checksum word zeroed, then verified over the full bytes.
The checksum covers more than ports
The checksum table sums pseudo-header, UDP header, and payload. Compute mode treats the UDP checksum word as zero.
checksum word index=9
Compute the checksum
With the checksum word zeroed, the recomputed checksum is 0x779f. That matches the field in the UDP header.
computed checksum=0x779f
Verify the received datagram
With checksum 0x779f included, the folded sum is 0xffff.
verify fold=0xffff
Summary
A valid UDP checksum is a recomputed identity over pseudo-header, UDP header, and payload bytes.
valid fold=0xffff