wireguard-rs icon indicating copy to clipboard operation
wireguard-rs copied to clipboard

Mirror only. Official repository is at https://git.zx2c4.com/wireguard-rs

Results 5 wireguard-rs issues
Sort by recently updated
recently updated
newest added

Hi! I've been reading the codebase to learn more about Wireguard and I took the opportunity to fix most of the clippy warnings in the repository.

Added a `src/lib.rs` file to allow building the crate as a library.

The tunnel reader trait as used on macOS (#18) forces a copy of the received traffic since macOS's `utun` requires extra header to be passed into the tunnel interface when...

On macOS, `time::Instant::now() - time::Duration::from_secs(86400)` would panic due to an underflow if the machine was running for less than 24 hours. This of course is not ideal, as that expression...

These changes add support for macOS. The I/O code for writing tunnel traffic adheres to the platform independent interfaces that already exist and are implemented for Linux, but the `uapi`...