aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of ssh://git.zx2c4.com/wireguard-goMathias Hall-Andersen2018-05-051-0/+5
|\
| * global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | | | | | Mathias should probably add his copyright headers to each file too.
* | Initial version of migration to new event modelMathias Hall-Andersen2018-05-051-31/+31
|/ | | | | - Begin move away from global timer state. - Made logging format more consistent
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-011-2/+2
| | | | | | Flushing queues on exit is sort of a partial solution, but this could be better. Really what we want is for no more packets to be enqueued after isUp is set to false.
* Fixed read from closed channelMathias Hall-Andersen2018-04-181-1/+1
| | | | | | | A premature waitgroup .Done resulted in reading from closed channel. This caused a nil-pointer deref & crash. Added additional debugging when closing routines.
* Use simple 16-bit integer for persistent keepaliveJason A. Donenfeld2018-04-181-1/+2
| | | | Races for this aren't a huge problem.
* Align 64-bit atomicsJason A. Donenfeld2018-04-181-1/+1
| | | | | 64-bit varibles that are accessed using the Go atomic functions must be 8-byte aligned on 32-bit platforms. Otherwise there are crashes.
* TUN status hack was causing spam during shutdownMathias Hall-Andersen2018-02-111-10/+3
|
* Work on logging formatMathias Hall-Andersen2018-02-041-2/+10
|
* Removed debugging locksMathias Hall-Andersen2018-02-041-4/+3
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+295