Struct wireguard_control_sys::wg_peer [−][src]
#[repr(C)]pub struct wg_peer {
pub flags: wg_peer_flags,
pub public_key: wg_key,
pub preshared_key: wg_key,
pub endpoint: wg_peer__bindgen_ty_1,
pub last_handshake_time: timespec64,
pub rx_bytes: u64,
pub tx_bytes: u64,
pub persistent_keepalive_interval: u16,
pub first_allowedip: *mut wg_allowedip,
pub last_allowedip: *mut wg_allowedip,
pub next_peer: *mut wg_peer,
}
Fields
flags: wg_peer_flags
public_key: wg_key
endpoint: wg_peer__bindgen_ty_1
last_handshake_time: timespec64
rx_bytes: u64
tx_bytes: u64
persistent_keepalive_interval: u16
first_allowedip: *mut wg_allowedip
last_allowedip: *mut wg_allowedip
next_peer: *mut wg_peer
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for wg_peer
impl UnwindSafe for wg_peer
Blanket Implementations
Mutably borrows from an owned value. Read more