Dario Nieuwenhuis
|
78f92bcea6
wire: use own Error type.
|
2 years ago |
Anuvrat
|
8ba8830378
Corrects minor spelling errors
|
3 years ago |
Thibaut Vandervelden
|
51b2adddad
Fix clippy lints
|
3 years ago |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 years ago |
Dario Nieuwenhuis
|
b82b7300aa
tcp: add Nagle's Algorithm.
|
3 years ago |
Dario Nieuwenhuis
|
49fa987cdc
Add defmt logging support
|
4 years ago |
Alex Crawford
|
ddb876bec4
Remove redundant field names from structs
|
4 years ago |
Alex Crawford
|
48539a84dc
Prefer elided lifetimes
|
4 years ago |
Alex Crawford
|
5c335f8fe7
Silence warning about is_empty method
|
4 years ago |
Alex Crawford
|
38a5008541
Prefer if-let syntax over single-pattern match
|
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 |
Alex Crawford
|
ac830e8bb1
Dereference match expressions to clean up patterns
|
4 years ago |
Scott Mabin
|
e74ad03b8a
Revert to prevous ordering of TCP options.
|
5 years ago |
whitequark
|
83dba8ea31
Bump Rust version requirement to 1.27.
|
5 years ago |
jhwgh1968
|
ed8dce015c
Minimal Implementation of TCP Selective Acknowledgement
|
6 years ago |
jhwgh1968
|
60db9424e0
Fix fault injection on TCP streams
|
6 years ago |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 years ago |
Kai Lüke
|
4a8242a1fe
Proper calculation of TCP header length
|
6 years ago |
jhwgh1968
|
42d25bfe26
Implement TCP Window Scaling, Phase 1 (Issue #106)
|
6 years ago |
Dan Robertson
|
91f5891dbb
Remove v4 from udp/tcp of ChecksumCapabilities
|
7 years ago |
Andrew Cann
|
fb96b3cdc1
impl `AsRef<[u8]>` for packet types
|
7 years ago |
Andrew Cann
|
5fdd44757a
Relax type constraints on payload_mut methods
|
7 years ago |
Andrew Cann
|
302affca91
Add Clone impl to Packet types
|
7 years ago |
whitequark
|
b0995c13e2
Fix some overly long comments. NFC.
|
7 years ago |
Dan Robertson
|
507d2fe0ea
Add the proto-ipv4 feature.
|
7 years ago |
whitequark
|
d1e229261f
Panic on an attempt of subtracting sequence numbers with underflow.
|
7 years ago |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 years ago |
Kai Lüke
|
5e2ae22302
Don't panic on TCP sequence number wrapping in debug mode.
|
7 years ago |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 years ago |