Commit Graph

22 Commits

Author SHA1 Message Date
2b7562abbb uapi: Simpler function signature 2019-02-05 12:59:42 +01:00
89d2c5ed7a Extend structs rather than embed, when possible 2019-02-05 12:59:42 +01:00
dff424baf8 Update copyright 2019-02-05 12:59:42 +01:00
c37c4ece9e uapi: typo 2018-11-05 05:46:27 +01:00
5be541d147 global: fix up copyright headers 2018-09-16 18:49:19 +02:00
063becdc73 uapi: insert peer version placeholder
While we don't want people to ever use old protocols, people will
complain if the API "changes", so explicitly make the unset protocol
mean the latest, and add a dummy mechanism of specifying the protocol on
a per-peer basis, which we hope nobody actually ever uses.
2018-09-02 23:04:47 -06:00
7472930d4e Straighten out UAPI logging 2018-05-21 03:38:50 +02:00
0a68c1ab17 Fix race in stats 2018-05-20 03:26:46 +02:00
38accea986 Add copyright headers 2018-05-19 02:40:22 +02:00
27091c3284 Fix refactoring mistakes 2018-05-15 06:28:42 +02:00
c1e097d6d0 Optional logging even in background 2018-05-14 03:38:06 +02:00
e75d2d4496 Fix dummy additions 2018-05-14 03:29:21 +02:00
b56af1829d More refactoring 2018-05-13 23:20:13 +02:00
2326d6a4d7 Odds and ends 2018-05-13 19:34:28 +02:00
233f079a94 Rewrite timers and related state machines 2018-05-10 16:08:03 +02:00
abe2651ad5 Removed remaining signals from peer
1. Removed remaining signals from peer struct
2. Made needAnotherKeepalive local
3. Removed environment check from warning text (annoying when debugging)
2018-05-05 22:07:58 +02:00
edbce6b400 Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go 2018-05-05 02:23:03 +02:00
6db41d5a26 Initial version of migration to new event model
- Begin move away from global timer state.
- Made logging format more consistent
2018-05-05 02:20:52 +02:00
a040786645 global: Add SPDX tags and copyright header
Mathias should probably add his copyright headers to each file too.
2018-05-03 15:06:25 +02:00
eb6728400b Use simple 16-bit integer for persistent keepalive
Races for this aren't a huge problem.
2018-04-18 07:24:33 +02:00
9de17e6c9c Seperated fwmark update code into function 2018-02-18 20:49:03 +01:00
a0f54cbe5a Align with go library layout 2018-02-04 16:08:26 +01:00