Jerome Forissier
27d7ccda94
net: lwip: tftp: add support of blksize option to client
...
The TFTP protocol uses a default block size of 512 bytes. This value is
sub-optimal for ethernet devices, which have a MTU (Maximum Transmission
Unit) of 1500 bytes. When taking into acount the overhead of the IP and
UDP layers, this leaves 1468 bytes for the TFTP payload.
This patch introduces a new function: tftp_client_set_blksize() which
may be used to change the block size from the default. It has to be
called after tftp_client_init() and before tftp_get(). If the server
does not support the option, the client will still accept to receive
512-byte blocks.
Submitted upstream: https://savannah.nongnu.org/patch/index.php?10462
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-10-16 11:11:57 -06:00
..
2024-10-11 12:23:25 -06:00
2024-10-11 11:44:48 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-14 17:59:04 -06:00
2024-07-15 12:12:18 -06:00
2024-10-11 12:23:25 -06:00
2024-09-12 17:35:37 +02:00
2024-02-28 14:38:47 +01:00
2024-10-15 13:45:30 -06:00
2024-07-15 12:12:18 -06:00
2024-09-19 10:52:50 +03:00
2024-07-15 12:12:18 -06:00
2024-10-11 11:44:48 -06:00
2024-10-16 11:11:57 -06:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2024-10-14 17:58:51 -06:00
2023-12-21 08:54:37 -05:00
2024-10-11 11:44:48 -06:00
2024-07-19 16:48:07 -06:00
2024-07-15 12:12:18 -06:00
2020-01-22 17:47:57 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-08-07 08:49:10 -06:00
2024-08-26 14:06:08 -06:00
2023-09-24 09:54:57 -04:00
2023-12-21 08:54:37 -05:00
2024-10-16 11:11:56 -06:00
2018-09-18 00:01:18 -06:00
2024-04-20 08:22:24 +02:00
2024-07-15 12:12:18 -06:00
2024-07-15 12:12:18 -06:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2022-04-21 14:32:40 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2024-10-11 11:44:48 -06:00
2020-05-18 21:19:23 -04:00
2024-08-27 18:01:21 -06:00
2023-12-21 08:54:37 -05:00
2021-05-24 14:21:30 -04:00
2021-04-14 15:06:08 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-10-11 12:23:25 -06:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-07-05 13:57:02 -06:00
2024-10-11 11:44:48 -06:00
2023-12-21 08:54:37 -05:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-02-09 09:42:04 +01:00
2024-07-04 09:25:20 -06:00
2024-10-15 13:45:30 -06:00
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2012-12-13 11:46:07 -07:00
2023-12-21 08:54:37 -05:00
2024-10-15 13:45:30 -06:00
2023-12-21 08:54:37 -05:00
2024-07-15 12:12:18 -06:00
2024-10-16 11:11:56 -06:00
2024-10-14 17:58:28 -06:00
2024-01-09 14:58:33 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2021-06-11 16:34:52 +05:30
2018-05-07 09:34:12 -04:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-10-14 17:58:30 -06:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-02-02 19:57:45 +01:00
2024-07-31 08:29:16 +02:00
2020-08-24 14:11:31 -04:00
2024-07-15 12:12:18 -06:00
2024-08-07 08:49:10 -06:00
2024-01-09 10:08:52 +01:00
2024-10-11 11:44:47 -06:00
2024-10-16 11:11:56 -06:00
2023-12-21 08:54:37 -05:00
2024-06-30 13:58:31 +02:00
2023-12-21 08:54:37 -05:00
2022-01-19 18:11:34 +01:00
2024-10-14 17:58:30 -06:00
2024-06-30 13:58:31 +02:00
2023-12-21 08:54:37 -05:00
2024-10-11 11:44:48 -06:00
2024-09-12 17:35:37 +02:00
2019-05-05 08:48:50 -04:00