Nicholas Cyprus
|
185a00829d
First pass constification of the wire module
|
2 年之前 |
Dario Nieuwenhuis
|
78f92bcea6
wire: use own Error type.
|
2 年之前 |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 年之前 |
Dario Nieuwenhuis
|
49fa987cdc
Add defmt logging support
|
4 年之前 |
Nathan K. Zhinn
|
c12fc6fbb0
Fix BPF header length on OpenBSD.
|
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
|
17e8001ade
Add EthernetRepr type
|
7 年之前 |
Andrew Cann
|
1ea5ada5df
Add Clone impl to EthernetFrame
|
7 年之前 |
Andrew Cann
|
fb96b3cdc1
impl `AsRef<[u8]>` for packet types
|
7 年之前 |
Andrew Cann
|
5fdd44757a
Relax type constraints on payload_mut methods
|
7 年之前 |
寧靜
|
400d0e72f5
Impl `Hash` trait on EthernetAddress.
|
7 年之前 |
Dan Robertson
|
507d2fe0ea
Add the proto-ipv4 feature.
|
7 年之前 |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
7 年之前 |
Dan Robertson
|
737b387f61
Add Ipv6Repr and Ipv6Packet to wire
|
7 年之前 |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 年之前 |
whitequark
|
2d31ef9665
Add some docs.
|
7 年之前 |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
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
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 年之前 |
whitequark
|
15cf0cc56e
Don't put non-unicast (IP or Ethernet) addresses into ARP cache.
|
8 年之前 |
whitequark
|
3dfcb11d33
Follow-up to b9e79d19; always process broadcast frames.
|
8 年之前 |
whitequark
|
7af6ddfa0c
Send the TCP MSS option.
|
8 年之前 |
whitequark
|
9535809201
#[inline(always)] → #[inline]
|
8 年之前 |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 年之前 |
whitequark
|
efc7bfbc38
Reply with ICMP dest. unreachable or TCP RST from unused ports.
|
8 年之前 |