whitequark
|
8c339d8b7a
Fix argument order in Tracer::new callbacks.
|
7 years ago |
whitequark
|
ac988f699b
Rename into_lower → into_inner.
|
7 years ago |
whitequark
|
97499ac280
Clean up some type variable names and trait bounds. NFC.
|
7 years ago |
whitequark
|
3a656c1529
Inject the current timestamp into Device::{transmit,receive}.
|
7 years ago |
whitequark
|
f5a3785c18
Move macros into their own module.
|
7 years ago |
whitequark
|
7d54157e77
Add EthernetTracer, a specialization of Tracer for EthernetFrame.
|
7 years ago |
whitequark
|
12f92be419
Use proper clock mocking in the loopback example.
|
7 years ago |
whitequark
|
c0629f769b
Log correct delay when performing TCP retransmit.
|
7 years ago |
whitequark
|
d5610e7826
Determine MTU in TapInterface instead of hardcoding 1536.
|
7 years ago |
whitequark
|
c5fc8f7da7
Document the loopback.
|
7 years ago |
whitequark
|
15ce667743
Add a bare-metal usage example.
|
7 years ago |
whitequark
|
042019db04
Remove default impl for Device::limits().
|
7 years ago |
whitequark
|
9a4efcd656
LoopbackInterface → Loopback.
|
7 years ago |
whitequark
|
8ada283c55
Implement loopback interfaces.
|
7 years ago |
whitequark
|
6bb9200c06
Annotate all simple getters with #[inline].
|
7 years ago |
whitequark
|
5dfc861e38
Remove *Socket::{process,dispatch} from public interface.
|
7 years ago |
whitequark
|
a15bc8105e
In {Tcp,Udp}Socket::process, make protocol check an assertion.
|
7 years ago |
whitequark
|
ab739531e2
Travis: require build on stable Rust to succeed.
|
7 years ago |
whitequark
|
cbc10b6ea0
Remove Socket::{process,dispatch} from public interface.
|
7 years ago |
whitequark
|
5f16fc0032
Fix a typo in 5c3fc493.
|
7 years ago |
whitequark
|
5c3fc4935e
Discard packets with non-unicast source addresses at IP level.
|
7 years ago |
whitequark
|
e47e94e339
Transmit actual UDP checksum of all-zeroes as all-ones instead.
|
7 years ago |
whitequark
|
1746702f53
Try to trigger fast retransmit when we detect a missing TCP segment.
|
7 years ago |
whitequark
|
103fca2387
In examples, trace the packets being dropped by the fault injector.
|
7 years ago |
whitequark
|
86c1cbad9b
In examples, print packet dumps with timestamps, too.
|
7 years ago |
whitequark
|
b3e355437f
Add missing #[derive]s on wire::IpVersion.
|
7 years ago |
Egor Karavaev
|
921f2e36c8
Don't reply to a TCP RST packet with another TCP RST packet.
|
7 years ago |
Egor Karavaev
|
feccd963c3
Refactor EthernetInterface::poll.
|
7 years ago |
whitequark
|
534842b929
Make sure representation emission covers every octet of the buffer.
|
7 years ago |
whitequark
|
8ace8cd94e
Set TCP PSH flag when sending the last buffered data.
|
7 years ago |