The gnuradio UDP Source block has a default Payload Size of 1472. The documentation indicates

"payload_size : UDP payload size by default set to 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP header))"

My C client program sends packets of 16 bytes to the gnuradio udp source once every second.

Should I set the MTU value to 16?

Thank you.

1

There are 1 best solutions below

2
On

No, the Payload Size refers to the maximum packet size that can be handled by the block. However, the block then handles your 16 byte as a stream, so if you like to keep this packet form additional steps are required.