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 |
寧靜
|
400d0e72f5
Impl `Hash` trait on EthernetAddress.
|
7 years ago |
Dan Robertson
|
507d2fe0ea
Add the proto-ipv4 feature.
|
7 years ago |
Dan Robertson
|
deccd469fe
Use hop limit instead of ttl
|
7 years ago |
Dan Robertson
|
737b387f61
Add Ipv6Repr and Ipv6Packet to wire
|
7 years ago |
whitequark
|
b1680368fe
Rework the pretty printer to avoid superfluous trailing newlines.
|
7 years ago |
whitequark
|
2d31ef9665
Add some docs.
|
7 years ago |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 years ago |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
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
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 years ago |
whitequark
|
15cf0cc56e
Don't put non-unicast (IP or Ethernet) addresses into ARP cache.
|
8 years ago |
whitequark
|
3dfcb11d33
Follow-up to b9e79d19; always process broadcast frames.
|
8 years ago |
whitequark
|
7af6ddfa0c
Send the TCP MSS option.
|
8 years ago |
whitequark
|
9535809201
#[inline(always)] → #[inline]
|
8 years ago |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 years ago |
whitequark
|
efc7bfbc38
Reply with ICMP dest. unreachable or TCP RST from unused ports.
|
8 years ago |
whitequark
|
85ae54a488
Sort out buffer lengths.
|
8 years ago |
whitequark
|
f23e3c4bff
Implement UDP packet support.
|
8 years ago |
whitequark
|
04b546a3b8
Return interior pointers more uniformly.
|
8 years ago |
whitequark
|
be4ea0a55e
Respond with ICMP echo request data in echo reply.
|
8 years ago |
whitequark
|
a1587fef21
Implement IPv4 representation parsing and emission.
|
8 years ago |
whitequark
|
f2104eb969
Implement IPv4 packet support.
|
8 years ago |
whitequark
|
a4e36053f9
Implement ARP snooping.
|
8 years ago |
whitequark
|
2fbf820de8
Implement ARP replies.
|
8 years ago |
whitequark
|
dea581fa10
Implement an ARP LRU cache.
|
8 years ago |
whitequark
|
5eff8040e4
Factor out pretty-printing of packets.
|
8 years ago |
whitequark
|
c076f916b7
Fix tests.
|
8 years ago |