From f1f7185dabb0c8d4c1737b0b9060bc7f519d421b Mon Sep 17 00:00:00 2001 From: tirex Date: Wed, 11 May 2022 23:21:24 +0200 Subject: [PATCH] Set skb_buff visbility to pub --- bpf/aya-bpf/src/programs/sk_buff.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpf/aya-bpf/src/programs/sk_buff.rs b/bpf/aya-bpf/src/programs/sk_buff.rs index c445fa32c..86b9c5418 100644 --- a/bpf/aya-bpf/src/programs/sk_buff.rs +++ b/bpf/aya-bpf/src/programs/sk_buff.rs @@ -12,7 +12,7 @@ use aya_bpf_cty::c_long; use crate::{bindings::__sk_buff, BpfContext}; pub struct SkBuffContext { - skb: *mut __sk_buff, + pub skb: *mut __sk_buff, } impl SkBuffContext {