| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rustfmt for edition 2024. | Dario Nieuwenhuis | 2025-10-06 | 1 | -1/+1 |
| | | |||||
| * | net: correct `UdpSocket::recv_from_with` docs | Sam W | 2025-07-03 | 1 | -1/+1 |
| | | |||||
| * | don't mention Poll::Ready for async fns as it's implied | Easyoakland | 2025-01-26 | 1 | -2/+2 |
| | | |||||
| * | update comments to match code | Easyoakland | 2025-01-26 | 1 | -3/+3 |
| | | |||||
| * | - use `with` | Easyoakland | 2025-01-26 | 1 | -9/+5 |
| | | | | | - rename to Truncated to `PacketTooLarge` | ||||
| * | don't infinite loop if udp::send methods receive a buffer too large to ever ↵ | Easyoakland | 2025-01-24 | 1 | -2/+26 |
| | | | | | be sent | ||||
| * | Desugar some async fns | Dániel Buga | 2024-12-30 | 1 | -10/+12 |
| | | |||||
| * | Merge pull request #3368 from AnthonyGrondin/main | Dario Nieuwenhuis | 2024-10-21 | 1 | -0/+53 |
| |\ | | | | | | | feat(embassy-net): Implement `wait_recv_ready()` + `wait_send_ready()` for UdpSocket and `wait_read_ready()` + `wait_write_ready()` for TcpSocket | ||||
| | * | feat(embassy-net): Implement `wait_recv_ready()` + `wait_send_ready()` for ↵ | Anthony Grondin | 2024-09-24 | 1 | -0/+53 |
| | | | | | | | | | | | | | | | | | | | | | UdpSocket - Provides `pub async fn wait_recv_ready(&self) -> ()` and `pub fn poll_recv_ready(&self, cx: &mut Context<'_>) -> Poll<()>`. This allows polling / waiting on a socket until it can be read, without dequeuing any packets. - Provides `pub async fn wait_send_ready(&self) -> ()` and `pub fn poll_send_ready(&self, cx: &mut Context<'_> -> Poll<()>` This allows polling / waiting on a socket until it becomes writable. | ||||
| * | | net: Add flush for UDP and Raw sockets. | Fan Jiang | 2024-10-21 | 1 | -0/+17 |
| |/ | |||||
| * | net: refactor to simplify lifetimes/generics. | Dario Nieuwenhuis | 2024-09-16 | 1 | -31/+32 |
| | | |||||
| * | feat(embassy-net): add zero-copy UDP send/recv functions | Cirrus | 2024-08-25 | 1 | -0/+63 |
| | | | | | | | | | | Added recv_from_with and send_to_with. These are conceptually similar to TCP's read_with and write_with functions. An application can parse received datagrams directly out of the receive buffer or assemble a datagram of known-length directly into the send buffer. | ||||
| * | fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in ↵ | chrysn | 2024-04-19 | 1 | -1/+1 |
| | | | | | poll_ functions | ||||
| * | fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in ↵ | chrysn | 2024-04-19 | 1 | -2/+2 |
| | | | | | poll_ functions | ||||
| * | fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in ↵ | chrysn | 2024-04-15 | 1 | -4/+2 |
| | | | | | poll_ functions | ||||
| * | net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ ↵ | chrysn | 2024-04-08 | 1 | -5/+11 |
| | | | | | | | | | functions This is a breaking change for users of the poll_ functions. (Some might not notice if they already pass in an IpEndpoint into poll_send_to, or discard that item in poll_recv_from). | ||||
| * | Add set_hop_limit to UDP sockets | Loïc Damien | 2023-12-28 | 1 | -0/+5 |
| | | |||||
| * | Upgrade to smoltcp v0.11. | Dario Nieuwenhuis | 2023-12-23 | 1 | -8/+17 |
| | | |||||
| * | add SocketNotBound error message | JuliDi | 2023-09-10 | 1 | -1/+10 |
| | | |||||
| * | Add udp capacity impls | Scott Mabin | 2023-08-15 | 1 | -0/+20 |
| | | |||||
| * | fmt | Roy Buitenhuis | 2023-07-12 | 1 | -9/+9 |
| | | |||||
| * | Add polling fn's for send_to and recv_from in UdpSocket. | Roy Buitenhuis | 2023-07-12 | 1 | -4/+23 |
| | | |||||
| * | Add poll functions on UdpSocket. | Roy Buitenhuis | 2023-07-12 | 1 | -21/+26 |
| | | |||||
| * | Update smoltcp. | Dario Nieuwenhuis | 2023-06-26 | 1 | -1/+1 |
| | | |||||
| * | net: document crate. | Dario Nieuwenhuis | 2023-05-15 | 1 | -0/+19 |
| | | |||||
| * | net: reexport UDP PacketMetadata under the udp module. | Dario Nieuwenhuis | 2023-05-15 | 1 | -1/+2 |
| | | |||||
| * | Wait for waker when no data is available on UDP socket. | Roy Buitenhuis | 2023-03-15 | 1 | -2/+1 |
| | | |||||
| * | net: split driver trait to a separate crate. | Dario Nieuwenhuis | 2022-12-26 | 1 | -2/+3 |
| | | |||||
| * | net: move stack into lib.rs | Dario Nieuwenhuis | 2022-12-13 | 1 | -2/+1 |
| | | |||||
| * | net: don't use UnsafeCell. | Dario Nieuwenhuis | 2022-12-03 | 1 | -24/+17 |
| | | | | | | | 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. | ||||
| * | Replace futures::future::poll_fn -> core::future::poll_fn. | Dario Nieuwenhuis | 2022-09-22 | 1 | -1/+1 |
| | | |||||
| * | Remove UdpIo struct | Artur Kowalski | 2022-08-11 | 1 | -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 code | Artur Kowalski | 2022-08-11 | 1 | -59/+5 |
| | | | | | | Drop unneeded APIs: remove impls of embedded_io error traits, remove flush() and split() methods. | ||||
| * | Add UDP socket support | Artur Kowalski | 2022-08-10 | 1 | -0/+227 |
