Files
RedBear-OS/netstack
Red Bear OS 28f1b8b643 netstack: scheme/ip.rs to smoltcp 0.13.1 API
Three call sites needed 0.13.1 adaptation:

- hop_limit/set_hop_limit are now methods, not public
  fields. Use self.hop_limit() and self.set_hop_limit().
- RawSocket::new takes Option<IpVersion> and Option<IpProtocol>,
  not the bare enums.
- socket.ip_protocol() returns Option<IpProtocol>; print via
  Debug so both Some(known) and None render usefully.

Verified by cargo check.
2026-07-26 21:00:03 +09:00
..