-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add final rtnetlink constants #1360
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
Conversation
r? @gnzlbg (rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ |
📋 Looks like this PR is still in progress, ignoring approval. Hint: Remove WIP from this PR's title when it is ready for review. |
good bot |
@gnzlbg All right, should be good to go. Thanks! |
@bors: r+ |
📌 Commit dfb119d has been approved by |
Add final rtnetlink constants This is a follow up to the PR #1351 which is for issue #1059 as it was closed before I realized there's one last set of netlink constants needed for use with rtnetlink. I'm marking this as WIP until I've verified everything's good with CI and that I've included all necessary constants. I'll remove WIP once it's passing CI and it's ready for review.
💥 Test timed out |
@bors: r+
|
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit dfb119d has been approved by |
@bors: retry |
@jbaublitz: 🔑 Insufficient privileges: not in try users |
Killjoy bot 🙁 |
@bors: retry
|
Add final rtnetlink constants This is a follow up to the PR #1351 which is for issue #1059 as it was closed before I realized there's one last set of netlink constants needed for use with rtnetlink. I'm marking this as WIP until I've verified everything's good with CI and that I've included all necessary constants. I'll remove WIP once it's passing CI and it's ready for review.
☀️ Test successful - checks-cirrus, checks-travis, status-appveyor |
@jbaublitz: was there a reason that you did not include the RTM message type defines in here? Like RTM_NEWLINK, RTM_DELLINK, etc? |
@jbaublitz: Hah, yeah, you're onto me 😆 . I'd be more than happy to help out in some way — perhaps I could provide something to add to the neli examples collection using some of those new constants? |
I probably don't know enough, but is there a reason these constants can't be added for musl? If I had to guess: they're not defined in musl. Trying to use rtnetlink with a musl target is not possible right now. |
@jeromegn Are you using libc directly? If so, only certain constants should not be usuable from musl. The rest are in both GNU and musl. |
I'm not, but rtnetlink requires constants such as I should look into neli and see if it compiles on x86 64 unknown musl. |
I've tried to make neli compatible with musl because of what I learned doing this PR so please file an issue with neli and I'd be happy to take a look if it doesn't work as expected. If you need additional constants through neli, also file an issue there and I'll do another PR to libc. |
This is a follow up to the PR #1351 which is for issue #1059 as it was closed before I realized there's one last set of netlink constants needed for use with rtnetlink. I'm marking this as WIP until I've verified everything's good with CI and that I've included all necessary constants. I'll remove WIP once it's passing CI and it's ready for review.