Ryan Summers
44add57e8e
Removing unneeded changes
2021-05-31 17:39:30 +02:00
Ryan Summers
f790f59088
Reverting phy changes
2021-05-31 17:36:26 +02:00
Ryan Summers
8474a1b1e4
cleaning up implementation
2021-05-31 17:33:52 +02:00
Ryan Summers
95829934db
Fail-free ingress
2021-05-31 17:30:45 +02:00
Ryan Summers
8d4e255090
Adding prototype fix for fail-free ingress
2021-05-31 17:25:04 +02:00
Dario Nieuwenhuis
03429a8b4e
Merge pull request #481 from smoltcp-rs/v0.7.3-changelog
...
Add changelog for v0.7.3
2021-05-29 04:47:20 +02:00
Dario Nieuwenhuis
ca22d95e2b
Add changelog for v0.7.3
2021-05-29 04:41:38 +02:00
Dario Nieuwenhuis
2edd35be13
Merge pull request #480 from smoltcp-rs/v0.7.2-changelog
...
Add v0.7.2 changelog
2021-05-29 04:36:20 +02:00
Dario Nieuwenhuis
0b001ec0dd
Add v0.7.2 changelog
2021-05-29 04:30:38 +02:00
Dario Nieuwenhuis
1d38a0b89a
Merge pull request #479 from smoltcp-rs/dhcp-wire-simplify
...
wire/dhcp: Simplify how options are emitted.
2021-05-29 01:48:50 +02:00
Dario Nieuwenhuis
b9477f25bc
wire/dhcp: Simplify how options are emitted.
2021-05-29 01:44:27 +02:00
Dario Nieuwenhuis
832c9bace1
Merge pull request #478 from theli-ua/fix_dhcp
...
Account for lease time, router and subnet options in DhcpRepr::buffer_len
2021-05-29 01:36:24 +02:00
Dario Nieuwenhuis
ea8d2ae7f4
Fix u32::MAX
2021-05-29 01:32:17 +02:00
Anton Romanov
7b6b70d058
Account for lease time, router and subnet options in DhcpRepr::buffer_len
2021-05-29 01:32:17 +02:00
Dario Nieuwenhuis
78407dca17
Merge pull request #477 from smoltcp-rs/lastack-fix
...
tcp: LastAck should only change to Closed on ack of fin.
2021-05-28 21:14:37 +02:00
Dario Nieuwenhuis
a5b9461275
tcp: LastAck should only change to Closed on ack of fin.
...
Fixes #470
2021-05-28 21:09:36 +02:00
Dario Nieuwenhuis
74b124f4c9
Merge pull request #476 from smoltcp-rs/fix-overflow
...
tcp rtte: fix "attempt to multiply with overflow". Fixes #468
2021-05-28 21:07:22 +02:00
Dario Nieuwenhuis
383d2426cb
tcp rtte: fix "attempt to multiply with overflow". Fixes #468
2021-05-28 21:02:31 +02:00
Dario Nieuwenhuis
360dbc79d4
Merge pull request #459 from smoltcp-rs/dhcp-socket
...
DHCP refactor
2021-05-28 18:54:26 +02:00
Dario Nieuwenhuis
8f1e547b67
Test with defmt-trace
2021-05-28 18:49:07 +02:00
Dario Nieuwenhuis
a81f2fef56
dhcp: convert port check to hard assert.
2021-05-28 18:43:52 +02:00
Dario Nieuwenhuis
07c3a402a3
Remove unused macro_use
2021-05-28 18:26:08 +02:00
Dario Nieuwenhuis
743f9de039
dhcp: address review comments.
2021-05-28 18:23:50 +02:00
Dario Nieuwenhuis
284f5bc834
wire/udp: clearer HEADER_LEN usage
2021-05-28 17:47:02 +02:00
Dario Nieuwenhuis
a916888ab8
dhcp: add max_lease_duration option
2021-04-13 20:23:28 +02:00
Dario Nieuwenhuis
53b62cfbad
dhcp: remove 0.0.0.0s from the DNS serevr list.
...
tp-link routers pad the DNS server list with 0.0.0.0 to a fixed size :(
2021-04-13 18:43:23 +02:00
Dario Nieuwenhuis
b1f2bcb678
dhcp: retry REQUEST slower and with exponential backoff. Fixes #464
2021-04-07 21:52:26 +02:00
Dario Nieuwenhuis
cb075bfc16
dhcp: handle NAK packets
2021-04-07 19:00:36 +02:00
Dario Nieuwenhuis
0d53163c55
dhcp: convert to socket
2021-04-07 19:00:36 +02:00
Dario Nieuwenhuis
ef58fc67a4
route: add remove_default_ipvX_route
2021-04-07 14:49:46 +02:00
Dario Nieuwenhuis
ab47db24e0
udp: do not include payload in UdpRepr
...
This makes UdpRepr work like IpRepr, where it only emits the header, and the user
must emit the payload.
This makes it easier to emit UDP packets with payloads that come from protocol-specific
reprs, like DHCP and in the future DNS.
2021-04-07 14:49:46 +02:00
Dario Nieuwenhuis
f2231c1cb5
Merge pull request #463 from smoltcp-rs/faultinjector-fix
...
phy: fix FaultInjector returning a too big buffer
2021-04-07 02:48:27 +02:00
Dario Nieuwenhuis
68d60a202b
phy: fix FaultInjector returning a too big buffer when simulating a drop on tx
2021-04-07 02:40:32 +02:00
Dario Nieuwenhuis
613fea062e
Merge pull request #456 from smoltcp-rs/dhcp-req-fix
...
dhcp: always send parameter_request_list.
2021-04-07 02:39:54 +02:00
Dario Nieuwenhuis
1d19ff8d91
dhcp: Clear expiration time on reset.
2021-04-07 02:32:46 +02:00
Dario Nieuwenhuis
562f12ffed
dhcp: always send parameter_request_list. Fixes #445 .
2021-04-07 02:32:46 +02:00
Dario Nieuwenhuis
3de0a7e6ac
Merge pull request #462 from smoltcp-rs/subnet-broadcast-fix
...
iface: check for ipv4 subnet broadcast addrs everywhere
2021-04-07 02:32:08 +02:00
Dario Nieuwenhuis
c043897327
iface: check for ipv4 subnet broadcast addrs everywhere
2021-04-07 02:23:19 +02:00
Dario Nieuwenhuis
0dd91bd309
Merge pull request #455 from smoltcp-rs/defmt
...
Add defmt logging support
2021-04-01 02:32:29 +02:00
Dario Nieuwenhuis
77c46220a6
Document MSRV with the defmt exception, don't test defmt with 1.40
2021-04-01 02:15:35 +02:00
Dario Nieuwenhuis
e57ec1e5c8
Add test with defmt feature.
2021-04-01 01:42:17 +02:00
Dario Nieuwenhuis
d64c8593f0
Add defmt logging support
2021-04-01 01:30:47 +02:00
Dario Nieuwenhuis
5947c5947e
Merge pull request #401 from smoltcp-rs/medium-ip-part2
...
Add IP medium support, part 2
2021-03-31 17:16:18 +02:00
Dario Nieuwenhuis
6e8c2a8455
Add IP medium support to PcapWriter and Tracer.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
9e3b373e36
Add support for TUN interfaces.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
b6220a04c8
Do not use DeviceCapabilities in sockets.
...
DeviceCapabilities contains the `medium` field, so tests had to give it a value
even if it was unused. This is impossible to do with no `medium-*` enabled, because
it makes `Medium` uninhabited (empty enum).
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
af4a1e6436
Add medium-ip, medium-ethernet feature flags.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
9ac2cac075
Add support for IP mediums.
...
- Add `medium` in `DeviceCapabilities`.
- Rename EthernetInterface to Interface.
- Add support to Interface for both Ethernet and IP mediums. The medium to use is detected from `device.capabilities().medium`.
- Ethernet-only features are gated behind the "ethernet" feature, as before.
- IP features are always enabled for now.
2021-03-31 17:05:09 +02:00
Dario Nieuwenhuis
bbecbf80c1
Merge pull request #454 from smoltcp-rs/v0.7.1-changelog
...
Fix 0.7.1 release date
2021-03-27 15:13:18 +01:00
Dario Nieuwenhuis
b1ea7dd6af
Fix 0.7.1 release date
2021-03-27 15:02:11 +01:00