Make sure link stats struct is stable

This commit is contained in:
Nils Andreas Svee committed 2022-10-13 17:15:28 +02:00
1 parent 432a9f2bac
commit 290450ac1e
1 file changed
+1
+1
View File
@@ -49,6 +49,7 @@ pub enum NetlinkError {
} }
#[derive(Deserialize, Copy, Clone, Default, Debug)] #[derive(Deserialize, Copy, Clone, Default, Debug)]
#[repr(C)]
pub struct RtnlLinkStats64 { pub struct RtnlLinkStats64 {
pub rx_packets: u64, pub rx_packets: u64,
pub tx_packets: u64, pub tx_packets: u64,