I recently increased my ETHERNET MTU size to 10k+. However I noticed that
busybox ping has stopped working. When I analysed the source code I realised
that in ping4 we do the calculation;

 sockopt = (datalen * 2) + 7 * 1024;

Then we use this calculation to set the rcvbuff size. Is there any
explanation behind this calculation? Also, in my case if the buffer size is
less then approximately my ETHERNET MTU I do not received any replies is
there an explanation behind this?

A temporary patch is to run tests and find out the required RCV BUFF for my
pings to go trough. Once I found this value to force the rcv buff to always
be this size.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to