summaryrefslogtreecommitdiffstats
path: root/device/send.go (follow)
Commit message (Expand)AuthorAgeFilesLines
* device: signal to close device in separate routineJason A. Donenfeld2021-03-111-1/+1
* global: remove TODO name graffitiJason A. Donenfeld2021-02-231-1/+1
* device: make RoutineReadFromTUN keep encryption queue aliveJosh Bleecher Snyder2021-02-091-0/+1
* device: do not attach finalizer to non-returned objectJason A. Donenfeld2021-02-091-2/+2
* device: remove mutex from Peer send/receiveJosh Bleecher Snyder2021-02-081-2/+3
* device: overhaul device state managementJosh Bleecher Snyder2021-02-081-2/+2
* device: remove unnecessary zeroing in peer.SendKeepaliveJosh Bleecher Snyder2021-02-081-1/+0
* device: tie encryption queue lifetime to the peers that write to itJosh Bleecher Snyder2021-02-031-2/+0
* device: reduce number of append calls when paddingJason A. Donenfeld2021-01-291-5/+2
* device: simplify peer queue lockingJason A. Donenfeld2021-01-291-23/+25
* device: reduce nesting when staging packetJason A. Donenfeld2021-01-281-6/+6
* global: bump copyrightJason A. Donenfeld2021-01-281-1/+1
* device: get rid of nonce routineJason A. Donenfeld2021-01-271-136/+52
* device: combine debug and info log levels into 'verbose'Jason A. Donenfeld2021-01-261-23/+23
* device: change logging interface to use functionsJosh Bleecher Snyder2021-01-261-34/+23
* device: remove QueueOutboundElement.droppedJosh Bleecher Snyder2021-01-201-23/+0
* device: remove selects from encrypt/decrypt/inbound/outbound enqueuingJosh Bleecher Snyder2021-01-201-18/+2
* device: call wg.Add outside the goroutineJosh Bleecher Snyder2021-01-071-3/+0
* device: add missing colon to error lineJason A. Donenfeld2021-01-071-2/+2
* device: fix races from changing private_keyJosh Bleecher Snyder2021-01-071-1/+1
* device: always name *Queue*Element variables elemJosh Bleecher Snyder2021-01-071-10/+10
* device: use channel close to shut down and drain outbound channelJosh Bleecher Snyder2021-01-071-53/+33
* device: use channel close to shut down and drain encryption channelJosh Bleecher Snyder2021-01-071-59/+34
* device: remove starting waitgroupsJosh Bleecher Snyder2021-01-071-5/+0
* device: clear pointers when returning elems to poolsJosh Bleecher Snyder2020-12-081-1/+11
* device: use labeled for loop instead of gotoJosh Bleecher Snyder2020-12-081-4/+4
* device: add write queue mutex for peerHaichao Liu2020-11-181-0/+4
* device: rework padding calculation and don't shadow paddedSizeJason A. Donenfeld2020-05-181-15/+17
* global: update header comments and modulesJason A. Donenfeld2020-05-021-1/+1
* send: account for zero mtuJason A. Donenfeld2020-02-141-4/+12
* device: remove dead error reporting codeJason A. Donenfeld2019-10-211-4/+1
* device: update transfer counters correctlyJason A. Donenfeld2019-06-111-2/+0
* device, ratelimiter: replace uses of time.Now().Sub() with time.Since()Matt Layher2019-06-031-4/+4
* global: regroup all importsJason A. Donenfeld2019-05-141-3/+4
* device: send: check packet length before freeing elementJason A. Donenfeld2019-04-181-3/+3
* global: begin modularizationJason A. Donenfeld2019-03-031-0/+618