pub fn best_packet_size(mtu: u32) -> u32Expand description
Compute an optimal GVSP payload size from the link MTU.
The resulting value subtracts the Ethernet, IPv4 and UDP headers to produce the maximum amount of user payload that fits in a single packet.