File tree Expand file tree Collapse file tree 4 files changed +461
-1
lines changed Expand file tree Collapse file tree 4 files changed +461
-1
lines changed Original file line number Diff line number Diff line change @@ -558,6 +558,12 @@ void rust_helper_put_net(struct net *net)
558
558
}
559
559
EXPORT_SYMBOL_GPL (rust_helper_put_net );
560
560
561
+ unsigned int rust_helper_NF_QUEUE_NR (unsigned int n )
562
+ {
563
+ return NF_QUEUE_NR (n );
564
+ }
565
+ EXPORT_SYMBOL_GPL (rust_helper_NF_QUEUE_NR );
566
+
561
567
/*
562
568
* We use `bindgen`'s `--size_t-is-usize` option to bind the C `size_t` type
563
569
* as the Rust `usize` type, so we can use it in contexts where Rust
Original file line number Diff line number Diff line change 32
32
#include <linux/uio.h>
33
33
#include <uapi/linux/android/binder.h>
34
34
#include <linux/netfilter.h>
35
+ #include <linux/netfilter_ipv4.h>
36
+ #include <linux/netfilter_ipv6.h>
37
+ #include <linux/netfilter_arp.h>
35
38
36
39
/* `bindgen` gets confused at certain things. */
37
40
const gfp_t BINDINGS_GFP_KERNEL = GFP_KERNEL ;
You can’t perform that action at this time.
0 commit comments