Bläddra i källkod

Set skb_buff visbility to pub

tirex 3 år sedan
förälder
incheckning
f1f7185dab
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      bpf/aya-bpf/src/programs/sk_buff.rs

+ 1 - 1
bpf/aya-bpf/src/programs/sk_buff.rs

@@ -12,7 +12,7 @@ use aya_bpf_cty::c_long;
 use crate::{bindings::__sk_buff, BpfContext};
 use crate::{bindings::__sk_buff, BpfContext};
 
 
 pub struct SkBuffContext {
 pub struct SkBuffContext {
-    skb: *mut __sk_buff,
+    pub skb: *mut __sk_buff,
 }
 }
 
 
 impl SkBuffContext {
 impl SkBuffContext {