Skip to content

Comment on UDP transmitter implemented with PIO and DMA on the RP2040

Comments

It can probably be a bit simplified by using IPv6, as that avoids the IPv4 checksum.

No, the checksum just moves to UDP; in the current system, the UDP checksum is set to 0. This is not allowed in UDP/IPv6, where the checksum, calculated over both the IPv6 pseudo-header and the UDP payload, must usually be set.

They still have to compute the Ethernet frame check sequence.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.