aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Model: TunnelConfiguration: Add explicit conformance to DecodableRoopesh Chander2018-11-101-1/+15
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Ensure that a TunnelConfiguration always has a valid array of peersRoopesh Chander2018-11-101-2/+9
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Remove unused file PacketTunnelOptionKey.swiftRoopesh Chander2018-11-081-30/+0
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Endpoint.hostname()Roopesh Chander2018-11-081-0/+11
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: NETunnelProviderProtocol extension code should be sharedRoopesh Chander2018-11-081-0/+35
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Model: Move InterfaceConfiguration.publicKey to Curve25519.swiftRoopesh Chander2018-11-081-4/+0
| | | | | | The code for public key calculation need not be shared with the extension Signed-off-by: Roopesh Chander <roop@roopc.net>
* Move logic to extension: Move model files to SharedRoopesh Chander2018-11-084-0/+287
| | | | Signed-off-by: Roopesh Chander <roop@roopc.net>
* Global: fix up captialization in headersJason A. Donenfeld2018-10-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VPN: Bring up the tunnelRoopesh Chander2018-10-271-0/+30
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>