summaryrefslogtreecommitdiffhomepage
path: root/device.go
AgeCommit message (Collapse)Author
2019-03-03global: begin modularizationJason A. Donenfeld
2019-02-22device: send persistent keepalive when bringing up deviceJason A. Donenfeld
Reported-by: Marcelo Bello
2019-02-18Change package pathJason A. Donenfeld
2019-02-05Extend structs rather than embed, when possibleJason A. Donenfeld
2019-02-05Update copyrightJason A. Donenfeld
2018-09-24Fix shutdown racesJason A. Donenfeld
2018-09-24More poolingJason A. Donenfeld
2018-09-22Fixup buffer freeingJason A. Donenfeld
2018-09-16device: preallocated buffers schemeJason A. Donenfeld
Not useful now but quite possibly later.
2018-09-16global: fix up copyright headersJason A. Donenfeld
2018-05-23Adopt GOPATHJason A. Donenfeld
GOPATH is annoying, but the Go community pushing me to adopt it is even more annoying.
2018-05-23Move tun to subpackageJason A. Donenfeld
2018-05-20StyleJason A. Donenfeld
2018-05-20Give bind its own wait groupJason A. Donenfeld
In a waitgroup, all waits must come after all adds
2018-05-20Avoid deadlock when the mutex isn't required, since these are atomicsJason A. Donenfeld
Maybe this fixes the "double lock issue" in f73d2fb2d96bc3fbc8bc4cce452e3c19689de01e?
2018-05-19Add copyright headersMathias Hall-Andersen
2018-05-18StyleJason A. Donenfeld
2018-05-16Finer-grained start-stop synchronizationJason A. Donenfeld
2018-05-14Clean moreJason A. Donenfeld
2018-05-14Shorthand for empty channelsJason A. Donenfeld
2018-05-14Ensure go routines can exitJason A. Donenfeld
2018-05-13More refactoringJason A. Donenfeld
2018-05-13Odds and endsJason A. Donenfeld
2018-05-13Cleanup ratelimiterJason A. Donenfeld
2018-05-13Rework index hashtableJason A. Donenfeld
2018-05-10Rewrite timers and related state machinesJason A. Donenfeld
2018-05-05More robust solution to close deadlockJason A. Donenfeld
2018-05-03global: Add SPDX tags and copyright headerJason A. Donenfeld
Mathias should probably add his copyright headers to each file too.
2018-05-01Add missing locks and fix debug output, and try to flush queuesJason A. Donenfeld
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.
2018-04-19Do not hard code MTU defaultJason A. Donenfeld
2018-04-18Allow determining nameJason A. Donenfeld
2018-02-12Use relative importsJason A. Donenfeld
2018-02-12Revert "Don't use modules"Mathias Hall-Andersen
This reverts commit bffe99aeadae09abd02f2bd3184925af6b680535.
2018-02-12Don't use modulesJason A. Donenfeld
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.
2018-02-11Moved ratelimiter to internal packageMathias Hall-Andersen
2018-02-04Work on logging formatMathias Hall-Andersen
2018-02-04Removed debugging locksMathias Hall-Andersen
2018-02-04Align with go library layoutMathias Hall-Andersen