-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/lwip: Add basic version of netif_get/set_opt #18069
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
benpicco
previously approved these changes
May 8, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A surprisingly simple addition, nice to have this now work across stacks.
benpicco
reviewed
May 8, 2022
benpicco
reviewed
May 8, 2022
Thanks. Squashing right away due to tiny size |
benpicco
approved these changes
May 8, 2022
Looks like Murdock had some unrelated problems. |
benpicco
reviewed
May 9, 2022
Adds support for mac address, link state and more
To fully implement net/netif.h
Seems like something rust-related is broken, also for another PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area: network
Area: Networking
Area: pkg
Area: External package ports
CI: ready for build
If set, CI server will compile all applications for all available boards for the labeled PR
Type: enhancement
The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contribution description
Add basic netif get/set opt implementation for lwIP.
Only supporting getting IPv6 addresses and underlying netif options. Setting options not supported.
Testing procedure
Apply e22fe42 and f502b03, and build and flash
tests/lwip
(l2util module needs to be added).The gnrc version of
ifconfig
then prints the lwIP netifs including IPv6 addresses, link type and channel for WiFi:Issues/PRs references
Part of #9287