slirp: support dynamic block size for TFTP transfers
commit9443598d7e2f2c0a6493d97b3f11dd04837b08e8
authorHervé Poussineau <hpoussin@reactos.org>
Mon, 21 Nov 2016 19:45:49 +0000 (21 20:45 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 20 Dec 2016 23:02:15 +0000 (21 00:02 +0100)
tree9e290d52867a510130e9a61948eead0cc0a31c24
parent893dcdbfa9c345945e6b501ebbf7a0f78ad08180
slirp: support dynamic block size for TFTP transfers

The blocksize option is defined in RFC 1783 and RFC 2348.
We now support block sizes between 1 and 1428 bytes, instead of 512 only.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/tftp.c
slirp/tftp.h