Dario Nieuwenhuis
|
78f92bcea6
wire: use own Error type.
|
2 年之前 |
Dario Nieuwenhuis
|
028b4466ff
wire: Rename ipv4 `protocol` to `next_header`.
|
3 年之前 |
Thibaut Vandervelden
|
51b2adddad
Fix clippy lints
|
3 年之前 |
qiujiangkun
|
7dda148ad5
various clippy fix
|
3 年之前 |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 年之前 |
Dario Nieuwenhuis
|
49fa987cdc
Add defmt logging support
|
4 年之前 |
whitequark
|
ed86780079
Simplify enum_with_unknown! macro.
|
4 年之前 |
Niclas Hoyer
|
633e7c2591
Use #[non_exhaustive] instead of manual variant
|
4 年之前 |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 年之前 |
Alex Crawford
|
ac830e8bb1
Dereference match expressions to clean up patterns
|
4 年之前 |
whitequark
|
83dba8ea31
Bump Rust version requirement to 1.27.
|
5 年之前 |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 年之前 |
Andrew Cann
|
fb96b3cdc1
impl `AsRef<[u8]>` for packet types
|
7 年之前 |
Andrew Cann
|
302affca91
Add Clone impl to Packet types
|
7 年之前 |
Dan Robertson
|
bec2435e80
Fix ICMPv4 check_len to not panic on truncated packets.
|
7 年之前 |
whitequark
|
b0995c13e2
Fix some overly long comments. NFC.
|
7 年之前 |
Dan Robertson
|
3ff7e07941
Increase required size for ICMPv4 packets
|
7 年之前 |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
7 年之前 |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 年之前 |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 年之前 |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
7 年之前 |
whitequark
|
70248c5109
Formatting. NFC.
|
7 年之前 |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 年之前 |
whitequark
|
16e6e70d2f
Fix many warnings.
|
7 年之前 |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 年之前 |
whitequark
|
534842b929
Make sure representation emission covers every octet of the buffer.
|
7 年之前 |
whitequark
|
1c1489e5fb
try! → ?
|
7 年之前 |
whitequark
|
7bf087b8ca
Disable checksum validation on wire level when fuzzing.
|
7 年之前 |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 年之前 |
whitequark
|
818fa7dda4
Unbreak parsing of ICMP unreachable messages.
|
7 年之前 |