Dario Nieuwenhuis
79dfc7e97e
Merge branch 'master' into fix-phywait
2021-03-24 03:13:13 +01:00
Dario Nieuwenhuis
8821fed6c0
Merge pull request #447 from smoltcp-rs/fix-bad-features
...
Fix feature-related compilation issues.
2021-03-24 03:12:56 +01:00
Dario Nieuwenhuis
a576389340
Fix timeval in phy_wait for times greater than 1 second
2021-03-24 02:58:51 +01:00
Dario Nieuwenhuis
067eee1681
Merge branch 'master' into feature/dhcp-lease-updates
2021-03-24 02:56:21 +01:00
Dario Nieuwenhuis
8e86318a13
Fix feature-related compilation issues.
2021-03-24 02:28:55 +01:00
Dario Nieuwenhuis
21c6e87671
Merge pull request #448 from smoltcp-rs/no-table
...
Remove support table from docs. Fixes #361
2021-03-24 02:26:42 +01:00
Dario Nieuwenhuis
e40b1442ce
Remove support table from docs. Fixes #361
...
The table is no longer very informative since it's all "yes" now.
2021-03-24 02:21:12 +01:00
Ryan Summers
881123f849
Removing lease expiration on reset - the lease does not expire
2021-03-18 16:26:44 +01:00
Dario Nieuwenhuis
4390452dcd
Merge pull request #442 from dutchmartin/master
...
Update managed to the latest version
2021-03-17 16:43:33 +01:00
Martijn Groeneveldt
13ed4cfd96
Update managed to the latest version
2021-03-17 16:13:18 +01:00
Ryan Summers
bb88eff42d
Adding changelog
2021-03-12 18:36:17 +01:00
Ryan Summers
2851a135df
Adding parsing test with lease time
2021-03-12 17:36:43 +01:00
Ryan Summers
39c3e7ef1f
Updating control logic
2021-03-12 17:28:00 +01:00
Ryan Summers
c491962b3f
Refactoring retry mechanism
2021-03-12 16:14:44 +01:00
Ryan Summers
647e27ed2b
Adding DHCP lease management
2021-03-12 14:03:51 +01:00
whitequark
b1db516b10
Enable all Linux `phy` components for Android as well.
...
Fixes #433 .
2021-03-12 06:31:05 +00:00
whitequark
9f0213765c
Simplify enum_with_unknown! macro.
2021-03-12 06:15:34 +00:00
Dario Nieuwenhuis
4933a0a19f
Merge pull request #431 from dnadlinger/patch-2
...
socket/tcp: Fix missing ` in doc comment
2021-03-07 07:58:04 +01:00
Dario Nieuwenhuis
adfd5687bd
Merge pull request #430 from dnadlinger/patch-1
...
socket/tcp: Fix is_active comment typo
2021-03-07 07:57:31 +01:00
David Nadlinger
b5eca87885
socket/tcp: Fix missing ` in doc comment
2021-03-07 04:14:10 +00:00
David Nadlinger
3fb05f0857
socket/tcp: Fix is_active comment typo
2021-03-07 04:09:44 +00:00
Nathan K. Zhinn
4ac265fb46
Fix BPF header length on OpenBSD.
...
The actual header length may be larger than the bpf_hdr struct due to aligning:
37ecb4d066/sys/net/bpf.c (L1649)
8f02f2a044/bsd/net/bpf.c (L3580)
Tests are only valid for 32 and 64 bit architectures. I did not bother
guarding them with additional cfg flags.
2021-03-01 04:37:37 +00:00
Dario Nieuwenhuis
5388ef1f1d
Merge pull request #419 from vkrasnov/vlad/solicit_dst
...
Ask for dst_addr in neighbor solicitation request
2021-02-20 13:03:47 +01:00
whitequark
9f51548f4d
Merge pull request #421 from pk-j-xyz/openbsd-bpf
...
Fix bpf ffi and add OpenBSD bpf cfg
2021-02-18 01:30:12 +00:00
Nathan K. Zhinn
019653b0cf
Fix bpf ffi and add OpenBSD bpf cfg
...
This fixes the ordering that was causing a dealloc before the FFI call
to libc open.
2021-02-17 15:11:56 +00:00
whitequark
d5dd33cbe8
Merge pull request #420 from stabler/master
...
Make wire/ipv4 functions const where easy.
2021-02-15 20:26:29 +00:00
Ben Stabler
335099aa26
Silence clippy lint for const assert work-around, remove const where using features not yet stable in 1.40
2021-02-11 23:10:35 -08:00
Ben Stabler
851d26aaa6
Make wire/ipv4 functions const where possible.
2021-02-11 22:49:33 -08:00
Vlad Krasnov
c6f7163638
Ask for dst_addr in neighbor solicitation request
2021-02-09 14:07:57 -05:00
Dario Nieuwenhuis
9d1e57efec
Merge pull request #416 from smoltcp-rs/no-socket
...
Fix build when with no socket features
2021-02-01 19:17:11 +01:00
Dario Nieuwenhuis
857c012f14
Fix build when with no socket features
2021-02-01 16:45:32 +01:00
Dario Nieuwenhuis
b143c5d69d
Bump version, update repo URLs
2021-01-20 00:23:19 +01:00
Dario Nieuwenhuis
c0f85435ba
changelog: mention MSRV bump
2021-01-20 00:19:25 +01:00
Dario Nieuwenhuis
f22ff8ad42
Link to PRs in changelog.
2021-01-20 00:17:40 +01:00
Dario Nieuwenhuis
371a03ad6f
Add CHANGELOG.md
2021-01-20 00:14:15 +01:00
Dario Nieuwenhuis
8e30e064f0
Update README.md with now-supported features.
2021-01-19 23:28:48 +01:00
Dario Nieuwenhuis
e027224b3d
Merge pull request #413 from smoltcp-rs/simplify-lifetimes-2
...
Simplify more lifetimes
2021-01-19 23:06:34 +01:00
Dario Nieuwenhuis
8da202ff7f
Simplify EthernetInterface lifetimes.
2021-01-19 22:59:52 +01:00
Dario Nieuwenhuis
02a80a6000
Simplify SocketSet lifetimes
2021-01-19 22:45:15 +01:00
Dario Nieuwenhuis
af2eb5a454
Clarify docs of DeviceCapabilities MTU. Fixes #392
2021-01-19 22:20:40 +01:00
Dario Nieuwenhuis
84170c4556
Merge pull request #377 from MabezDev/subnet-local-broadcasts
...
Subnet broadcasts
2021-01-16 21:12:34 +01:00
Scott Mabin
47d27472b9
subnet_broadcasts
...
Adds `is_subnet_broadcast` to the ethernet interface which checks for
subnet broadcasts, which are discussed on page 8 in
https://tools.ietf.org/html/rfc917 . The subnet broadcast addresses are
derived from the interfaces ipv4 addresses.
2021-01-16 15:36:27 +00:00
Dario Nieuwenhuis
db39ffd2ad
Merge pull request #411 from crawford/non_exhaustive
...
Various cleanup
2021-01-16 01:32:28 +01:00
Alex Crawford
0cf0a7e386
Clean up clippy warnings about if-else blocks
...
This de-duplicates and (hopefully) simplifies a few if-else blocks. The
others were given an exception because I thought they were more readable
as is. I've verified that these changes don't result in larger binaries.
2021-01-10 14:30:31 -08:00
Alex Crawford
06d128ad22
Use #[non_exhaustive] on structs as well
...
This builds on 633e7c25, adding the #[non_exhaustive] attribute to
applicable struct definitions.
2021-01-10 13:54:29 -08:00
Dario Nieuwenhuis
fbc006f622
Merge pull request #409 from niclashoyer/307_nonexhaustive
...
Use #[non_exhaustive] instead of manual variant
2021-01-09 02:09:20 +01:00
Niclas Hoyer
ad7795f996
Use #[non_exhaustive] instead of manual variant
2021-01-09 02:06:00 +01:00
Dario Nieuwenhuis
47db8963df
Merge pull request #410 from smoltcp-rs/simplify-lifetimes
...
Simplify Socket lifetimes
2021-01-09 02:04:03 +01:00
Dario Nieuwenhuis
c09ca370b2
Simplify Socket lifetimes
2021-01-09 01:59:02 +01:00
Dario Nieuwenhuis
f5f7037045
Remove unnecessary semicolon
2021-01-08 19:25:21 +01:00