Covers the header, the data, and a pseudo-header built from the addresses one lane up. Zero means not computed.
The field whose rules change depending on the lane above it: optional over IPv4, where zero legitimately means "not computed", and mandatory over IPv6, where zero is malformed. One field, two contracts, decided by something outside this header.
UDP Datagram > Checksum