Dario Nieuwenhuis
|
9a2093e39e
Remove braces that were previously needed to workaround SocketRef borrow issues.
|
3 anni fa |
Dario Nieuwenhuis
|
ef213fa772
socket: remove SocketRef.
|
3 anni fa |
Dario Nieuwenhuis
|
bde881d2f9
iface: own the SocketSet instead of borrowing it
|
3 anni fa |
Thibaut Vandervelden
|
3d782f19cd
Add support for 802.15.4 and 6LoWPAN
|
3 anni fa |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 anni fa |
Dario Nieuwenhuis
|
b869449b31
Add support for TUN interfaces.
|
4 anni fa |
Dario Nieuwenhuis
|
d352e151f6
Add support for IP mediums.
|
4 anni fa |
Alex Crawford
|
1cbc38d0ea
Clean up examples
|
4 anni fa |
Alex Crawford
|
323dfe2ab6
Use is_empty instead of length comparison
|
4 anni fa |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 anni fa |
Alex Crawford
|
ccf6915186
Remove explicit calls to as_ref/as_mut
|
4 anni fa |
Dario Nieuwenhuis
|
a3d6c1a0de
Fix crash in server example due to returning length bigger than received buffer.
|
5 anni fa |
whitequark
|
185a0ca781
examples: remove the remaining panics on poll error.
|
6 anni fa |
Michal Podhradsky
|
917f259bae
Log and print poll errors instead of crashing the server
|
6 anni fa |
Dan Robertson
|
602724b285
Fix server example
|
6 anni fa |
Dan Robertson
|
72ef278471
Add Address Resolution for IPv6
|
7 anni fa |
whitequark
|
cd893e6ab6
fn PacketMetadata::empty() → const PacketMetadata::EMPTY.
|
7 anni fa |
whitequark
|
86c59fe344
Factor out storage::PacketBuffer from socket::UdpSocket.
|
7 anni fa |
Philipp Oppermann
|
58e534a2fb
Use separate metadata and payload buffers for UDP sockets.
|
7 anni fa |
Dan Robertson
|
c418b60b5d
Use time types in socket
|
7 anni fa |
Dan Robertson
|
8e74fce11d
Update examples to use time types
|
7 anni fa |
whitequark
|
3868dcdb14
Split `poll_at`/`poll_delay` out of `poll`.
|
7 anni fa |
Dan Robertson
|
ad56bacb56
Replace EthernetInterface::new with EthernetInterfaceBuilder.
|
7 anni fa |
whitequark
|
34c3a8c905
Rewrite the ARP cache to allow for flood protection and expiration.
|
7 anni fa |
Philipp Oppermann
|
4ae84ab36a
Store plain DeviceT instead of Managed<_> in EthernetInterface
|
7 anni fa |
whitequark
|
0091191cce
Rework TcpSocket::{send,recv} to remove need for precomputing size.
|
7 anni fa |
Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 anni fa |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 anni fa |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 anni fa |
whitequark
|
6f5ae33501
Add a keep-alive and timeout demo to the examples.
|
7 anni fa |