Fix IOStatisticCollector interface: Use InetAddress not Object
Add isIPv6()
Factor out MinimumMTU logic (reasons will be clear in next commit), and only call onTooLowMTU once.
Get rid of too small MTU alert. We can deal with any valid MTU, the IPv4 minimum is 576 bytes.
Detect IPv4 min MTU vs IPv6 min MTU
Delete old (pre-NFP) mechanism to detect when the MTU was too small to send data packets. With NFP we don't need this, we can use anything from ~ 100 bytes upwards, and the IPv4 minimum of 576 is plenty.
Explain strategy of PacketSender.
Doesn't make sense to include the headers. We only want the payload here.
Delete unused variables/functions for packet overhead
Detect MTUs separately for IPv4 vs IPv6, adapt the code to deal with this. Some compromises had to be made in PacketSender.