aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/VPN/PacketTunnelOptionsGenerator.swift (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move logic to extension: Move PacketTunnelOptionsGenerator to the extensionRoopesh Chander2018-11-081-178/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* TunnelsManager: account for no or many endpointsJason A. Donenfeld2018-11-051-7/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: run through swiftlintJason A. Donenfeld2018-11-031-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VPN: Cleaner derivation of subnet mask from CIDR network prefix lengthRoopesh Chander2018-10-281-14/+8
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* VPN: Bring up the tunnelRoopesh Chander2018-10-271-0/+180
The app figures out all settings and passes them in the 'options' parameter of startTunnel(). The network extension just takes them as is and just plugs the supplied values into the right places. Signed-off-by: Roopesh Chander <roop@roopc.net>