whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 years ago |
Michal Podhradsky
|
4c7606d9c3
Log and print error for all examples
|
6 years ago |
Valentin Lorentz
|
06d18130cd
Add support for arbitrarily many routes instead of only gateways.
|
6 years ago |
Valentin Lorentz
|
4bf917ced3
Add support for IPv6 gateways.
|
6 years ago |
whitequark
|
cd893e6ab6
fn PacketMetadata::empty() → const PacketMetadata::EMPTY.
|
6 years ago |
whitequark
|
21ca116fd7
Fix an off-by-1000 in time display in examples/ping.rs.
|
6 years ago |
whitequark
|
95fd1f2568
Use storage::PacketBuffer for implementing socket::IcmpSocket.
|
6 years ago |
Dan Robertson
|
8e74fce11d
Update examples to use time types
|
6 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 |
Dan Robertson
|
ef4af850e0
Add ICMP sockets
|
7 years ago |
Philipp Oppermann
|
4ae84ab36a
Store plain DeviceT instead of Managed<_> in EthernetInterface
|
7 years ago |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
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 |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 years ago |
whitequark
|
16e6e70d2f
Fix many warnings.
|
7 years ago |
whitequark
|
cedf66a733
Enforce some lints.
|
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
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 years ago |
Egor Karavaev
|
78b717cd75
Add the `ping` example.
|
7 years ago |