Sorry, I didn't see those below, but it looks incorrect. Those numbers should match if you're using a single segment. My guess is the 42 is truncating it to the size of the udp header part only.
On Wed, Jul 1, 2020, 06:04 David Aldrich <[email protected]> wrote: > > Are you setting data_len and packet_len in the mbuf before sending? >> > > Yes, and I believe that the mbuf dump and the tcpdump that I included > show that these lengths are set correctly. The problem is that udp payload > is present but consists of all 0's. >
