-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: add missing netfilter consts #3734
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
4cf7257
to
7ab2bdf
Compare
(backport <rust-lang#3734>) (cherry picked from commit 7000471)
(backport <rust-lang#3734>) (cherry picked from commit 7000471)
(backport <rust-lang#3734>) (cherry picked from commit 7000471)
This PR adds some missing netfilter constants from:
linux/netfilter.h
linux/netfilter_arp.h
linux/netfilter_bridge.h
linux/netfilter_ipv4.h
linux/netfilter_ipv6.h
Unresolved questions:
NF_NETDEV_NUMHOOKS
andNF_NETDEV_INGRESS
were not moved fromsemver/linux-gnu.txt
tosemver/linux.txt
during Make netfilter constants available for musl Linux targets #2152. Should that be rectified now?NF_NETDEV_NUMHOOKS
value was changed from 1 to 2 in linux kernel 5.16 (torvalds/linux@42df6e1) and hence some workaround was added tolibc_test/build.rs
:libc/libc-test/build.rs
Line 1842 in acc7bb1
libc/libc-test/build.rs
Line 3940 in acc7bb1
NF_IP_PRI_RAW_BEFORE_DEFRAG
introduced in 5.10?