-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Outdated socket.NETLINK_*
constants
#127072
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
Comments
If you wish, they can be removed. Currently they are no longer present in |
I have no intention to open an MR related to this issue myself, if that's what you mean. If you know what the correct thing to do here is, please go ahead! If you haven't seen it, you might also be interested in this related issue I opened: #127069 |
I'll submit a PR to remove them soon. Netlink first appeared in linux1.3, and if I remember correctly. As far as I can remember, no other os to support |
Remove seriously outdated netlink constants. Co-authored-by: Gregory P. Smith <[email protected]>
Closing since completed. |
…nGH-127256) Remove seriously outdated netlink constants. Co-authored-by: Gregory P. Smith <[email protected]>
Feature or enhancement
Proposal:
When working through the constants in
socket
for typeshed, I found that these appear to be obsolete:The netlink constants are defined in
include/linux/netlink.h
on linux 2.0 to 3.6. Starting in 3.7 they moved toinclude/uapi/linux/netlink.h
. I've annotated these with the versions of linux where I was able to find them, and confirmed that they're not present in FreeBSD's Netlink implementation either.I suspect these can be safely removed, but I'm not terribly familiar with Netlink myself.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
socket.NETLINK_*
constants. #127256The text was updated successfully, but these errors were encountered: