Dario Nieuwenhuis
|
028b4466ff
wire: Rename ipv4 `protocol` to `next_header`.
|
3 년 전 |
Thibaut Vandervelden
|
51b2adddad
Fix clippy lints
|
3 년 전 |
Dario Nieuwenhuis
|
2cb407d62a
rustfmt
|
3 년 전 |
Dario Nieuwenhuis
|
b82b7300aa
tcp: add Nagle's Algorithm.
|
3 년 전 |
Dario Nieuwenhuis
|
49fa987cdc
Add defmt logging support
|
4 년 전 |
Ben Stabler
|
d5a98dd059
Silence clippy lint for const assert work-around, remove const where using features not yet stable in 1.40
|
4 년 전 |
Ben Stabler
|
3a721ca810
Make wire/ipv4 functions const where possible.
|
4 년 전 |
Alex Crawford
|
6d569deb2a
Clean up clippy warnings about if-else blocks
|
4 년 전 |
Dario Nieuwenhuis
|
1e40b934bf
Update to Rust 2018. Fixes #271
|
4 년 전 |
whitequark
|
83dba8ea31
Bump Rust version requirement to 1.27.
|
5 년 전 |
Astro
|
58a54730db
Implement IGMPv1/v2 processing.
|
7 년 전 |
whitequark
|
4a253fecdf
Rename `new` method on Packet types to `new_checked`.
|
6 년 전 |
Dan Robertson
|
c425efa1ba
Remove trailing whitespace
|
7 년 전 |
Andrew Cann
|
fb96b3cdc1
impl `AsRef<[u8]>` for packet types
|
7 년 전 |
Andrew Cann
|
5fdd44757a
Relax type constraints on payload_mut methods
|
7 년 전 |
寧靜
|
5b7032e48d
Add from_netmask()/netmask()/broadcast()/network() methods on IPv4Cidr
|
7 년 전 |
Andrew Cann
|
302affca91
Add Clone impl to Packet types
|
7 년 전 |
Andrew Cann
|
b1c5bcfa8b
Add conversions to/from std wire types
|
7 년 전 |
whitequark
|
d2b8f526f3
Remove internally inconsistent test that was left in 1d2ec8c.
|
7 년 전 |
whitequark
|
1d2ec8c135
Remove length check that is redundant after 181083f1.
|
7 년 전 |
whitequark
|
181083f18c
Reject certain malformed IPv4 packets.
|
7 년 전 |
whitequark
|
b0995c13e2
Fix some overly long comments. NFC.
|
7 년 전 |
luozijun
|
3b824ca642
Add `Hash` trait on `IpAddress/IpCidr`
|
7 년 전 |
Dan Robertson
|
793227fd46
Ensure ICMPv4 error replies comply with size requirements
|
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
|
19790720a3
Remove impl Ord/PartialOrd for Cidr.
|
7 년 전 |
whitequark
|
1e18c03d34
Fix Cidr::contains_addr for zero length prefixes.
|
7 년 전 |
Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 년 전 |