zephyr/samples/net/sockets/echo_client/src
Michael Scott 2c7e420a8e samples: net: echo_client: handle net if mtu
UDP portion of the echo_client sends 1 packet with the sample data.
(TCP can send chunks of it depending on the response of the send()
function.)  Not every network interface can send a UDP packet large
enough to handle the size of the sample data.

Let's make sure to account for the network interface MTU when deciding
the amount of sample data to send.

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/22447

Signed-off-by: Michael Scott <mike@foundries.io>
2020-02-05 15:54:57 +02:00
..
ca_certificate.h samples: Add PSK support for echo client/server 2019-10-28 13:02:29 +02:00
common.h samples: net: echo_client: handle net if mtu 2020-02-05 15:54:57 +02:00
dummy_psk.h samples: Add PSK support for echo client/server 2019-10-28 13:02:29 +02:00
echo-apps-cert.der net: samples: Add TLS support to socket echo_client/echo_server 2018-07-26 12:13:15 -04:00
echo-client.c samples: net: echo_client: handle net if mtu 2020-02-05 15:54:57 +02:00
tcp.c samples: Add PSK support for echo client/server 2019-10-28 13:02:29 +02:00
udp.c samples: net: echo_client: handle net if mtu 2020-02-05 15:54:57 +02:00
vlan.c samples: net: Convert to use generic logging macros 2018-12-07 12:00:04 +02:00