netstack issueshttps://gitlab.redox-os.org/redox-os/netstack/-/issues2018-06-13T18:35:09Zhttps://gitlab.redox-os.org/redox-os/netstack/-/issues/15Add documentation for dnsd2018-06-13T18:35:09ZDan RobertsonAdd documentation for dnsdAdd documentation for the `dnsd` scheme. A brief review of the endpoints and how they can be used should be good enough for a first pass.Add documentation for the `dnsd` scheme. A brief review of the endpoints and how they can be used should be good enough for a first pass.Dan RobertsonDan Robertsonhttps://gitlab.redox-os.org/redox-os/netstack/-/issues/12Rename Setting::Ttl to Setting::HopLimit2018-06-13T18:35:09ZDan RobertsonRename Setting::Ttl to Setting::HopLimitRename `Setting::Ttl` to `Setting::HopLimit`. [smoltcp] [aims to be an IPv6 first stack] (once IPv6 is supported 😄). We should follow suit and use the IPv6 Hop Limit instead of IPv4's TTL.
[smoltcp]: https://github.com/m-labs/smoltcp
...Rename `Setting::Ttl` to `Setting::HopLimit`. [smoltcp] [aims to be an IPv6 first stack] (once IPv6 is supported 😄). We should follow suit and use the IPv6 Hop Limit instead of IPv4's TTL.
[smoltcp]: https://github.com/m-labs/smoltcp
[aims to be an IPv6 first stack]: https://github.com/m-labs/smoltcp/pull/89#discussion_r155903065
https://gitlab.redox-os.org/redox-os/netstack/-/issues/10Use IpEndpoint's FromStr implementation2018-06-13T18:35:09ZDan RobertsonUse IpEndpoint's FromStr implementationm-labs/smoltcp#102 implmented [`FromStr`] for [`IpEndpoint`]. Currently [`parse_endpoint`] parses the port and IP address manually. We should use the [`FromStr`] implementation instead.
~Note: we need to maintain the same defaults. AF...m-labs/smoltcp#102 implmented [`FromStr`] for [`IpEndpoint`]. Currently [`parse_endpoint`] parses the port and IP address manually. We should use the [`FromStr`] implementation instead.
~Note: we need to maintain the same defaults. AFAIK the [current upstream implementation] of the parser will return an error for `:80` while [`parse_endpoint`] will not.~
[`FromStr`]: https://doc.rust-lang.org/std/str/trait.FromStr.html
[`IpEndpoint`]: https://docs.rs/smoltcp/0.4.0/smoltcp/wire/struct.IpEndpoint.html
[`parse_endpoint`]: https://github.com/redox-os/netstack/blob/master/src/smolnetd/scheme/mod.rs#L242-L255
[current upstream implementation]: https://github.com/m-labs/smoltcp/blob/master/src/parsers.rs#L330-L344