Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 anni fa |
Dario Nieuwenhuis
|
b869449b31
Add support for TUN interfaces.
|
3 anni fa |
Dario Nieuwenhuis
|
d352e151f6
Add support for IP mediums.
|
4 anni fa |
Alex Crawford
|
323dfe2ab6
Use is_empty instead of length comparison
|
3 anni fa |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
3 anni fa |
whitequark
|
185a0ca781
examples: remove the remaining panics on poll error.
|
6 anni fa |
Valentin Lorentz
|
06d18130cd
Add support for arbitrarily many routes instead of only gateways.
|
6 anni fa |
Dan Robertson
|
8e74fce11d
Update examples to use time types
|
6 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
|
b7b4877a85
Fix an embarassing relative/absolute time mismatch in examples.
|
7 anni fa |
whitequark
|
39464a53fc
Compute soft deadline in poll() and use nonblocking sockets.
|
7 anni fa |
whitequark
|
c799bfc398
Add --pcap option to all our examples.
|
7 anni fa |
whitequark
|
ddba30e9cf
Update README to explain how the client example works.
|
7 anni fa |
whitequark
|
be9d0a202d
Don't block forever in TapInterface.
|
7 anni fa |
whitequark
|
a0f2c62ac9
Add a TCP client example.
|
7 anni fa |