Dario Nieuwenhuis
|
26dcb55559
udp: do not include payload in UdpRepr
|
4 years ago |
Dario Nieuwenhuis
|
49fa987cdc
Add defmt logging support
|
4 years ago |
Alex Crawford
|
5c335f8fe7
Silence warning about is_empty method
|
4 years ago |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 years ago |
whitequark
|
83dba8ea31
Bump Rust version requirement to 1.27.
|
5 years ago |
Andreas Molzer
|
3fec67519b
Fix omission of udp checksum
|
6 years ago |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 years ago |
Dan Robertson
|
91f5891dbb
Remove v4 from udp/tcp of ChecksumCapabilities
|
6 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
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 years ago |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 years ago |
whitequark
|
70248c5109
Formatting. NFC.
|
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
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 years ago |
whitequark
|
e47e94e339
Transmit actual UDP checksum of all-zeroes as all-ones instead.
|
7 years ago |
whitequark
|
534842b929
Make sure representation emission covers every octet of the buffer.
|
7 years ago |
whitequark
|
1c1489e5fb
try! → ?
|
7 years ago |
whitequark
|
7bf087b8ca
Disable checksum validation on wire level when fuzzing.
|
7 years ago |
whitequark
|
2989fa3348
Fix insufficient length validation in UDP packets.
|
7 years ago |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 years ago |
whitequark
|
9535809201
#[inline(always)] → #[inline]
|
8 years ago |
whitequark
|
00c311a5b8
Add some sanity into enumeration names (avoid "*Type").
|
8 years ago |
whitequark
|
5a85a5c4f9
Implement TCP representation parsing and emission.
|
8 years ago |
whitequark
|
85ae54a488
Sort out buffer lengths.
|
8 years ago |
whitequark
|
d02961b0f2
Implement TCP packet support.
|
8 years ago |