Browse Source

aya-bpf: expose sk_msg_md of SkMsgContext

This patch expose sk_msg_md of SkMsgContext.
Kenjiro Nakayama 3 years ago
parent
commit
360560ec4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bpf/aya-bpf/src/programs/sk_msg.rs

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

@@ -7,7 +7,7 @@ use crate::{
 };
 };
 
 
 pub struct SkMsgContext {
 pub struct SkMsgContext {
-    msg: *mut sk_msg_md,
+    pub msg: *mut sk_msg_md,
 }
 }
 
 
 impl SkMsgContext {
 impl SkMsgContext {