Struct wireguard_control_sys::wg_device [−][src]
#[repr(C)]pub struct wg_device {
pub name: [c_char; 16],
pub ifindex: u32,
pub flags: wg_device_flags,
pub public_key: wg_key,
pub private_key: wg_key,
pub fwmark: u32,
pub listen_port: u16,
pub first_peer: *mut wg_peer,
pub last_peer: *mut wg_peer,
}
Fields
name: [c_char; 16]
ifindex: u32
flags: wg_device_flags
public_key: wg_key
private_key: wg_key
fwmark: u32
listen_port: u16
first_peer: *mut wg_peer
last_peer: *mut wg_peer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for wg_device
impl UnwindSafe for wg_device
Blanket Implementations
Mutably borrows from an owned value. Read more