Alex Crawford
|
ac830e8bb1
Dereference match expressions to clean up patterns
|
4 rokov pred |
whitequark
|
83dba8ea31
Bump Rust version requirement to 1.27.
|
5 rokov pred |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 rokov pred |
Andrew Cann
|
fb96b3cdc1
impl `AsRef<[u8]>` for packet types
|
7 rokov pred |
Andrew Cann
|
302affca91
Add Clone impl to Packet types
|
7 rokov pred |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 rokov pred |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 rokov pred |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 rokov pred |
whitequark
|
534842b929
Make sure representation emission covers every octet of the buffer.
|
7 rokov pred |
whitequark
|
1c1489e5fb
try! → ?
|
7 rokov pred |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 rokov pred |
whitequark
|
9535809201
#[inline(always)] → #[inline]
|
8 rokov pred |
whitequark
|
00c311a5b8
Add some sanity into enumeration names (avoid "*Type").
|
8 rokov pred |
whitequark
|
85ae54a488
Sort out buffer lengths.
|
8 rokov pred |
whitequark
|
f6f7dc8cb6
Implement UDP representation parsing and emission.
|
8 rokov pred |
whitequark
|
a1587fef21
Implement IPv4 representation parsing and emission.
|
8 rokov pred |
whitequark
|
f2104eb969
Implement IPv4 packet support.
|
8 rokov pred |
whitequark
|
a4e36053f9
Implement ARP snooping.
|
8 rokov pred |
whitequark
|
2fbf820de8
Implement ARP replies.
|
8 rokov pred |
whitequark
|
f57492a67b
Naming consistency.
|
8 rokov pred |
whitequark
|
5eff8040e4
Factor out pretty-printing of packets.
|
8 rokov pred |
whitequark
|
10d538c02f
Implement raw socket interface and tcpdump.
|
8 rokov pred |
whitequark
|
34d5e1bb6a
Move protocol-related data structures to smoltcp::wire.
|
8 rokov pred |