#embedded-nal #networking #buffer #tcp #stack #extension #precise

no-std embedded-nal-tcpextensions

Extensions to embedded-nal's TCP parts around the more precise use of the stack's buffers

4 releases

0.1.3 Jan 2, 2025
0.1.2 Nov 10, 2021
0.1.1 Nov 1, 2021
0.1.0 Nov 1, 2021

#584 in Embedded development

Download history 26/week @ 2024-09-25 63/week @ 2024-10-02 91/week @ 2024-10-09 183/week @ 2024-10-16 97/week @ 2024-10-23 33/week @ 2024-10-30 55/week @ 2024-11-06 24/week @ 2024-11-13 65/week @ 2024-11-20 213/week @ 2024-11-27 160/week @ 2024-12-04 35/week @ 2024-12-11 12/week @ 2024-12-18 399/week @ 2025-01-01 192/week @ 2025-01-08

606 downloads per month
Used in 3 crates

MIT/Apache

17KB
194 lines

embedded-nal-tcpextensions

Extensions to [embedded_nal]'s TCP traits to make more precise use of TCP buffers.

This is not intended to be a long-term extension of embedded-nal, but more an experimenation playground for #59 where users and implementations can play (ideally behind unstable feature gates); once this is mature it is hoped that it'll be taken up into embedded-nal.

Maintenance status

This crate has not been updated since embedded-hal 0.6 (as of late 2024, that trait crate is at 0.9), and is not expected to be updated any further. The experiment has shown that while it may be possible to implement this on embedded platforms, there can be significant pushback from TCP stack maintainers to expose this capability (see #16850), as it can mess with expectations around when to ACK and what the usable vs. communicated window size is.

There may still be some way to implement this optimization, but for the time being, this is not being followed any further.

License: MIT OR Apache-2.0

Dependencies

~1MB
~16K SLoC