Make sure link stats struct is stable
This commit is contained in:
1 parent
432a9f2bac
commit
290450ac1e
1 file changed
+1
@@ -49,6 +49,7 @@ pub enum NetlinkError {
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Copy, Clone, Default, Debug)]
|
||||
#[repr(C)]
|
||||
pub struct RtnlLinkStats64 {
|
||||
pub rx_packets: u64,
|
||||
pub tx_packets: u64,
|
||||
|
||||
Reference in new issue
Block a user