Expand description
Wrapper around the wireguard c library originating from Jason A. Donenfeld Jason@zx2c4.com
Provides an abstraction around the c ffi bindings. This should allow to invoke Wireguard function within safe rust code. Be aware to run these methods the programm requires the priviliges to change your network settings. Most likely root rights! otherwise calling the methods will fail.
The same is true if you attempt to run any tests.
Modules§
Functions§
- add_
device - Add a wireguard network interface device
- delete_
device - Removes a wireguard network interface device
- free_
device - delete the wg_device allocated by get_device
- get_
device - Gets a new wg_device
- list_
device_ names - List all available wireguard devices
- set_
device - Set a new wireguard device - not a network interface