Emīls Piņķis

Results 9 issues of Emīls Piņķis

I've changed the transport traits to use instance methods when creating the underlying sockets. This is useful to not rely on static variables if creating sockets relies on configuration that...

Given a struct like Foo ```rust #[derive(serde::Serialize)] struct Foo { field: Option, } ``` How would one distinguish between a `None` and a `Some(false)` value of `Foo::field`? If a tera...

Currently, `netlink-packet::rtnl::link::inet6::dev_conf::LinkInet6DevConfBuffer` is trying to mirror the kernel's `ipv6_devconf` struct as defined in `/lib/modules/$(uname -r)/build/include/linux/ipv6.h`. Since certain fields in `ipv6_devconf` are dependent on the kernel config, it'll be hard to...

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`...

As per the title, updating the tonic and prost dependencies. - - - This change is [](https://reviewable.io/reviews/mullvad/mullvadvpn-app/3945)

Hello, I am running megafuse on 32 bit Archlinux. I compiled the latest git version. I did most of my uploading with a 64 bit desktop, now I am trying...