]> git.meshlink.io Git - meshlink/commit - test/channels-udp.c
Update UTCP to support fragmenting packets on UDP style channels.
authorGuus Sliepen <guus@meshlink.io>
Thu, 2 Apr 2020 22:23:11 +0000 (00:23 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 2 Apr 2020 22:23:11 +0000 (00:23 +0200)
commitce4dfa68147745b116ee316b012653b11a328cd9
treef84b978f6b2fec2cf7d47132521a2fe34110976f
parent63b8edd005fe729ee6cc0550099e03d17e4646a7
Update UTCP to support fragmenting packets on UDP style channels.

This allows the application to send packets of arbitrary size (up to 64 kiB)
without worrying about the path MTU to the destination node, which might
vary, especially at the start of a connection.

If the application doesn't want packets to fragment, it should use
meshlink_channel_get_mss() to query the maximum size for unfragmented
packets.
src/utcp
test/channels-udp.c