ping: large pings don't work

Denys Vlasenko vda.linux at googlemail.com
Sun Aug 24 00:03:02 UTC 2008


On Sunday 24 August 2008 01:46, Denys Vlasenko wrote:
> In order to not waste too much of buffer space, I propose using
> (datalen | 0x7ff) + 1025 bytes instead of fixed 48k or 96k constant.
> 
> Please try attached patch.
> --
> vda

Actually, "standard" ping seems to do it in order to be able to buffer
more than one ping response. I bumbed up buffer size to ~8k
for normal (short) pings in this updated patch.

Please try it with variously-sized packets.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.patch
Type: text/x-diff
Size: 1227 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080824/3a645a54/attachment.bin 


More information about the busybox mailing list