aboutsummaryrefslogtreecommitdiffstats
path: root/device.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix shutdown racesJason A. Donenfeld2018-09-241-1/+2
|
* More poolingJason A. Donenfeld2018-09-241-32/+7
|
* Fixup buffer freeingJason A. Donenfeld2018-09-221-2/+1
|
* device: preallocated buffers schemeJason A. Donenfeld2018-09-161-7/+26
| | | | Not useful now but quite possibly later.
* global: fix up copyright headersJason A. Donenfeld2018-09-161-2/+1
|
* Adopt GOPATHJason A. Donenfeld2018-05-231-2/+2
| | | | | GOPATH is annoying, but the Go community pushing me to adopt it is even more annoying.
* Move tun to subpackageJason A. Donenfeld2018-05-231-3/+4
|
* StyleJason A. Donenfeld2018-05-201-4/+4
|
* Give bind its own wait groupJason A. Donenfeld2018-05-201-0/+2
| | | | In a waitgroup, all waits must come after all adds
* Avoid deadlock when the mutex isn't required, since these are atomicsJason A. Donenfeld2018-05-201-4/+0
| | | | | Maybe this fixes the "double lock issue" in f73d2fb2d96bc3fbc8bc4cce452e3c19689de01e?
* Add copyright headersMathias Hall-Andersen2018-05-191-0/+1
|
* StyleJason A. Donenfeld2018-05-181-3/+3
|
* Finer-grained start-stop synchronizationJason A. Donenfeld2018-05-161-1/+11
|
* Clean moreJason A. Donenfeld2018-05-141-10/+4
|
* Shorthand for empty channelsJason A. Donenfeld2018-05-141-1/+1
|
* Ensure go routines can exitJason A. Donenfeld2018-05-141-1/+1
|
* More refactoringJason A. Donenfeld2018-05-131-40/+19
|
* Odds and endsJason A. Donenfeld2018-05-131-2/+2
|
* Cleanup ratelimiterJason A. Donenfeld2018-05-131-2/+2
|
* Rework index hashtableJason A. Donenfeld2018-05-131-3/+3
|
* Rewrite timers and related state machinesJason A. Donenfeld2018-05-101-5/+5
|
* More robust solution to close deadlockJason A. Donenfeld2018-05-051-1/+30
|
* global: Add SPDX tags and copyright headerJason A. Donenfeld2018-05-031-0/+5
| | | | Mathias should probably add his copyright headers to each file too.
* Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld2018-05-011-2/+13
| | | | | | 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.
* Do not hard code MTU defaultJason A. Donenfeld2018-04-191-2/+2
|
* Allow determining nameJason A. Donenfeld2018-04-181-0/+8
|
* Use relative importsJason A. Donenfeld2018-02-121-1/+1
|
* Revert "Don't use modules"Mathias Hall-Andersen2018-02-121-1/+2
| | | | This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
* Don't use modulesJason A. Donenfeld2018-02-121-2/+1
| | | | | Feel free to revert this if you have a strong feeling about it. But so far as I can see, it adds a lot of complexity for basically no upsides.
* Moved ratelimiter to internal packageMathias Hall-Andersen2018-02-111-2/+3
|
* Work on logging formatMathias Hall-Andersen2018-02-041-1/+0
|
* Removed debugging locksMathias Hall-Andersen2018-02-041-44/+36
|
* Align with go library layoutMathias Hall-Andersen2018-02-041-0/+372