Dario Nieuwenhuis
|
ed0cf16750
socket_set: add get_mut, make get immutable.
|
2 years ago |
Dario Nieuwenhuis
|
8ecd4360a1
iface: borrow the device instead of owning it.
|
2 years ago |
Dario Nieuwenhuis
|
4d6c22a3ff
iface: borrow the SocketSet instead of owning.
|
2 years ago |
Dario Nieuwenhuis
|
72a9ee46ce
socket: reorganize module structure, with one module per protocol.
|
2 years ago |
Dario Nieuwenhuis
|
3644b94b82
rand: use simple PRNG owned by Interface, sockets access it through Context.
|
3 years ago |
Dario Nieuwenhuis
|
9a2093e39e
Remove braces that were previously needed to workaround SocketRef borrow issues.
|
3 years ago |
Dario Nieuwenhuis
|
ef213fa772
socket: remove SocketRef.
|
3 years ago |
Dario Nieuwenhuis
|
bde881d2f9
iface: own the SocketSet instead of borrowing it
|
3 years ago |
Thibaut Vandervelden
|
3d782f19cd
Add support for 802.15.4 and 6LoWPAN
|
3 years ago |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 years ago |
Dario Nieuwenhuis
|
b869449b31
Add support for TUN interfaces.
|
3 years ago |
Dario Nieuwenhuis
|
d352e151f6
Add support for IP mediums.
|
4 years ago |
Alex Crawford
|
323dfe2ab6
Use is_empty instead of length comparison
|
4 years ago |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 years ago |
whitequark
|
185a0ca781
examples: remove the remaining panics on poll error.
|
6 years ago |
Valentin Lorentz
|
06d18130cd
Add support for arbitrarily many routes instead of only gateways.
|
6 years ago |
Dan Robertson
|
8e74fce11d
Update examples to use time types
|
7 years ago |
whitequark
|
3868dcdb14
Split `poll_at`/`poll_delay` out of `poll`.
|
7 years ago |
Dan Robertson
|
ad56bacb56
Replace EthernetInterface::new with EthernetInterfaceBuilder.
|
7 years ago |
whitequark
|
34c3a8c905
Rewrite the ARP cache to allow for flood protection and expiration.
|
7 years ago |
Philipp Oppermann
|
4ae84ab36a
Store plain DeviceT instead of Managed<_> in EthernetInterface
|
7 years ago |
whitequark
|
0091191cce
Rework TcpSocket::{send,recv} to remove need for precomputing size.
|
7 years ago |
Egor Karavaev
|
096ce02ac4
Implement a SocketRef smart pointer to detect state changes.
|
7 years ago |
whitequark
|
d88ef3c8d3
Drop the pretense that anyone cares about non-IP over Ethernet.
|
7 years ago |
Egor Karavaev
|
331dc10780
Add support for IPv4 default gateway.
|
7 years ago |
whitequark
|
b7b4877a85
Fix an embarassing relative/absolute time mismatch in examples.
|
7 years ago |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 years ago |
whitequark
|
c799bfc398
Add --pcap option to all our examples.
|
7 years ago |
whitequark
|
ddba30e9cf
Update README to explain how the client example works.
|
8 years ago |
whitequark
|
be9d0a202d
Don't block forever in TapInterface.
|
8 years ago |