aboutsummaryrefslogtreecommitdiffstats
path: root/driver/send.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* driver: socket: allow loop routingJason A. Donenfeld2021-08-081-5/+1
| | | | | | | | You can still create loops, but ever since we started making copies on both RX and TX, and freeing TX buffers really early (after encryption), we no longer have a stack chaining issue on free. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: device: implement MTU notifications properly, even if brokenJason A. Donenfeld2021-08-051-1/+1
| | | | | | | Let's assume that Windows is operating as described, and then later we can hack around the limitations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: memory: move NBL pools to global scopeJason A. Donenfeld2021-08-041-3/+2
| | | | | | | This is preparation for the next commit, which will attempt to allocate everything at once for the RX path. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: do rx and tx on same threads as encryption and decryptionJason A. Donenfeld2021-08-021-10/+12
| | | | | | | This seems surprising to me, but the Windows scheduler doesn't behave as expected, and this is actually faster. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce WireGuardNTJason A. Donenfeld2021-08-021-0/+524
Co-authored-by: Simon Rozman <simon@rozman.si> Signed-off-by: Simon Rozman <simon@rozman.si> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>