Created
May 13, 2017 21:49
-
-
Save valarauca/d635d93e4b51653d48cfbde0df86b805 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[repr(C)] // <- tells Rust to treat this structure like its C | |
pub struct Tpacket { | |
block_size: u32, | |
block_number: u32, | |
frame_size: u32, | |
frame_number: u32 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment