aboutsummaryrefslogtreecommitdiffstats
path: root/example (follow)
Commit message (Collapse)AuthorAgeFilesLines
* example: remove overly specific castsJason A. Donenfeld2021-10-151-12/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* api: migrate to swdevice and rework entire apiJason A. Donenfeld2021-10-061-34/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* api: adapter: treat reboot required as real errorJason A. Donenfeld2021-10-061-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* example: disable dad for faster startupJason A. Donenfeld2021-09-101-6/+7
| | | | | | And set address after routes so that loopback works. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: logging: pass timestamp back to userspaceJason A. Donenfeld2021-08-081-9/+13
| | | | | | It turns out the precision is very useful for diagnosing weird errors. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: device: implement MTU notifications properly, even if brokenJason A. Donenfeld2021-08-051-1/+2
| | | | | | | Let's assume that Windows is operating as described, and then later we can hack around the limitations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* example: remove MTU setting due to complicationsJason A. Donenfeld2021-08-031-2/+1
| | | | | | | | | | In line with ff41718 ("TODO: note current unsolved MTU notification issue") of this repo and 3f07aa3f ("winipcfg: set MTU in registry after setting it in iphlpapi") of the wireguard-windows repo, it seems like MTU changes are still complicated and partially unsolved, so just leave it out of the example code for now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce WireGuardNTJason A. Donenfeld2021-08-023-0/+530
Co-authored-by: Simon Rozman <simon@rozman.si> Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>