netdevice_client/session/buffer/
sys.rs
1pub const __NETWORK_DEVICE_DESCRIPTOR_VERSION: u32 = 1;
12#[repr(C)]
13#[derive(Debug, Copy, Clone)]
14pub struct buffer_descriptor {
15 pub frame_type: u8,
16 pub chain_length: u8,
17 pub nxt: u16,
18 pub info_type: u32,
19 pub port_id: buffer_descriptor_port_id,
20 pub _reserved: [u8; 2usize],
21 pub client_opaque_data: [u8; 4usize],
22 pub offset: u64,
23 pub head_length: u16,
24 pub tail_length: u16,
25 pub data_length: u32,
26 pub inbound_flags: u32,
27 pub return_flags: u32,
28}
29#[repr(C)]
30#[derive(Debug, Copy, Clone)]
31pub struct buffer_descriptor_port_id {
32 pub base: u8,
33 pub salt: u8,
34}