[][src]Function boringtun::ffi::wireguard_read

#[no_mangle]
pub unsafe extern "C" fn wireguard_read(
    tunnel: *mut Tunn,
    src: *const u8,
    src_size: u32,
    dst: *mut u8,
    dst_size: u32
) -> wireguard_result

Read a UDP packet from the server. For more details check noise::network_to_tunnel functions.