File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
examples/netfilter_blocklist Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ license = "LGPL-2.1-only OR BSD-2-Clause"
6
6
7
7
[build-dependencies ]
8
8
libbpf-cargo = { path = " ../../libbpf-cargo" }
9
- vmlinux = { git = " https://github.com/libbpf/vmlinux.h.git" , rev = " 83a228cf37fc65f2d14e4896a04922b5ee531a94 " }
9
+ vmlinux = { git = " https://github.com/libbpf/vmlinux.h.git" , rev = " 8f91e9fd5b488ff57074e589e3960940f3387830 " }
10
10
11
11
[[bin ]]
12
12
name = " netfilter_blocklist"
Original file line number Diff line number Diff line change 5
5
#define NF_DROP 0
6
6
#define NF_ACCEPT 1
7
7
8
- int bpf_dynptr_from_skb (struct sk_buff * skb ,
9
- __u64 flags , struct bpf_dynptr * ptr__uninit ) __ksym ;
10
- void * bpf_dynptr_slice (const struct bpf_dynptr * ptr ,
11
- uint32_t offset , void * buffer , uint32_t buffer__sz ) __ksym ;
12
-
13
-
14
8
struct lpm_key {
15
9
__u32 prefixlen ;
16
10
__be32 addr ;
You can’t perform that action at this time.
0 commit comments