The UDP checksum includes a small pseudo-header built from IP values.
highlighted = computed this step
UDP borrows a small IP summary
UDP checksum input starts with a pseudo-header: source IP, destination IP, protocol, and UDP length. This ties the checksum to the intended IP endpoints.
protocol=17
Source and destination IP
The source IP is 192.168.1.10, and the destination IP is 192.168.1.1.
src=192.168.1.10
Protocol and length
The protocol byte is 17 for UDP, and the UDP length is 10.
protocol=17,length=10
Summary
The pseudo-header is not a separate UDP header on the wire. It is exact checksum input built from pinned IP values and the UDP length.