aboutsummaryrefslogtreecommitdiff
path: root/embassy-net/src
Commit message (Collapse)AuthorAgeFilesLines
...
* embassy-net: DNS resolver detects when name is just an IP address and ↵kbleeke2023-02-251-0/+16
| | | | returns immediately
* embassy-net: add flush to TcpSocket and TcpWriter as an inherent methodkbleeke2023-02-221-0/+8
|
* Implement flush for TcpSocketkbleeke2023-02-221-3/+12
|
* fix: cfg guard for ipv6Ulf Lilleengen2023-02-101-0/+1
|
* scope dns operations within a cfged blockUlf Lilleengen2023-02-101-3/+5
|
* add waker for DNS slotsUlf Lilleengen2023-02-102-11/+32
|
* Bump max queriesUlf Lilleengen2023-02-101-1/+2
|
* Create slice using ::OwnedUlf Lilleengen2023-02-101-1/+1
|
* attempt removing optionUlf Lilleengen2023-02-101-47/+27
|
* Expose api on Stack and add docUlf Lilleengen2023-02-102-10/+5
| | | | Make it work with smoltcp 0.9
* Rewrite to use a single socketUlf Lilleengen2023-02-102-74/+129
|
* cargo fmtUlf Lilleengen2023-02-101-1/+1
|
* Handle cancellationUlf Lilleengen2023-02-101-2/+14
|
* Add DNS socket to embassy-netUlf Lilleengen2023-02-102-0/+116
|
* net: reexport driver crate.Dario Nieuwenhuis2023-02-081-1/+3
|
* Pass the correct buffer when creating TcpSocketUlf Lilleengen2023-01-311-1/+1
|
* add missing copy of icmpv6 checksumUlf Lilleengen2023-01-241-0/+4
| | | | add proto-ipv6 feature to stm32h7 example to catch issues in CI
* IPv6 has no checksumDavide Della Giustina2023-01-241-4/+0
|
* net: update smoltcp.Dario Nieuwenhuis2023-01-191-22/+20
|
* net: poll returning false is not an error. No need to repoll.Dario Nieuwenhuis2023-01-191-5/+1
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-191-20/+52
|
* Update smoltcp to the newest masterPaweł Jan Czochański2023-01-192-26/+17
|
* net; allow changing MAC addr at runtime.Dario Nieuwenhuis2022-12-271-8/+8
|
* net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-264-96/+55
|
* net: use atomic-polyfill on tcp client pool, for thumbv6m support.Dario Nieuwenhuis2022-12-261-1/+1
|
* Remove unnecessary use of atomic-polyfill.Dario Nieuwenhuis2022-12-231-1/+1
| | | | Only use it when CAS is actually needed.
* net: move stack into lib.rsDario Nieuwenhuis2022-12-134-315/+304
|
* net: remove packet pool.Dario Nieuwenhuis2022-12-135-197/+105
| | | | | | | | | | | | | | The pool was prone to deadlocks, especially due to having a single pool for rx+tx. If the pool got full with rx'd packets it would deadlock because processing a rx packet requires doing another allocation on the pool, for the possibly tx'd response, before deallocating the rx'd packet. This also allows Device impls to allocate the packet memory in a particular RAM kind, if needed for example to do DMA. The `Device` trait is now token-based, like smoltcp's. In the end, this is better because it allows callers to manage memory however they want (including with a pool if they want to).
* net: update smoltcpDario Nieuwenhuis2022-12-073-24/+16
|
* net: don't use UnsafeCell.Dario Nieuwenhuis2022-12-033-75/+57
| | | | | | The "must not be called reentrantly" invariant is too "global" to maintain comfortably, and the cost of the RefCell is negligible, so this was a case of premature optimization.
* Switch to async-fn-in-traitDario Nieuwenhuis2022-11-252-80/+46
|
* Update Rust nightly.Dario Nieuwenhuis2022-10-261-9/+9
|
* Replace futures::future::poll_fn -> core::future::poll_fn.Dario Nieuwenhuis2022-09-223-6/+5
|
* Update Rust nightly.Dario Nieuwenhuis2022-09-221-1/+1
| | | | Removes feature(generic_associated_types)
* net: feature-gate nightly-only async traits to allow building on stable.Dario Nieuwenhuis2022-08-302-48/+75
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-1/+1
|
* Merge #880bors[bot]2022-08-112-0/+162
|\ | | | | | | | | | | | | | | | | 880: Add UDP socket support r=Dirbaio a=arturkow2000 Co-authored-by: Artur Kowalski <[email protected]> Co-authored-by: Artur Kowalski <[email protected]>
| * Remove UdpIo structArtur Kowalski2022-08-111-57/+41
| | | | | | | | | | UdpIo was shared by split sender/receives halves. Since split() API is no more UdpIo is not needed and its APIs may be moved into UdpSocket.
| * Simplify UDP codeArtur Kowalski2022-08-111-59/+5
| | | | | | | | | | Drop unneeded APIs: remove impls of embedded_io error traits, remove flush() and split() methods.
| * Add UDP socket supportArtur Kowalski2022-08-102-0/+232
| |
* | net: make TcpIo private.Dario Nieuwenhuis2022-08-111-1/+1
|/ | | It's just an implementation detail to share code between Socket, Reader, Writer. It wasn't supposed to be public.
* Fix formattingUlf Lilleengen2022-08-091-7/+2
|
* Wrap buffers in a single state typeUlf Lilleengen2022-08-091-23/+30
|
* Implement embedded-nal-async traits for embassy-netUlf Lilleengen2022-08-081-0/+167
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-2/+2
|
* Run rustfmt.Dario Nieuwenhuis2022-06-125-53/+23
|
* Add embedded-io implementation of ConnectErrorUlf Lilleengen2022-06-011-0/+6
|
* Add reexport for ipv6 types with proto-ipv6Ulf Lilleengen2022-06-011-0/+3
|
* WIP embassy-net v2Dario Nieuwenhuis2022-05-257-466/+405
|