aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/packets.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* queue: entirely rework parallel systemJason A. Donenfeld2017-09-181-63/+0
| | | | | | | | | | This removes our dependency on padata and moves to a different mode of multiprocessing that is more efficient. This began as Samuel Holland's GSoC project and was gradually reworked/redesigned/rebased into this present commit, which is a combination of his initial contribution and my subsequent rewriting and redesigning.
* global: cleanup IP header checkingJason A. Donenfeld2017-06-261-1/+13
| | | | This way is more correct and ensures we're within the skb head.
* timers: reset retry-attempt counter when not retryingJason A. Donenfeld2017-05-311-1/+1
|
* data: simplify flowJason A. Donenfeld2017-04-041-4/+5
|
* data: big refactoringJason A. Donenfeld2017-03-201-2/+8
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* types: enforce consistencyJason A. Donenfeld2016-12-161-2/+4
|
* device: clean up xmit error pathJason A. Donenfeld2016-12-111-1/+1
|
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* packets: consolidate constantsJason A. Donenfeld2016-11-161-11/+0
|
* socket: keep track of src address in sending packetsJason A. Donenfeld2016-11-151-1/+1
|
* send: simplify handshake initiation queueing and introduce lockJason A. Donenfeld2016-11-071-6/+3
|
* data: only uses kmem_cache for parallismJason A. Donenfeld2016-11-061-0/+3
|
* data: use a memory cache for parallel ctxJason A. Donenfeld2016-11-041-0/+2
|
* send: queue bundles on same CPUJason A. Donenfeld2016-11-041-14/+2
|
* data: use smaller typesJason A. Donenfeld2016-11-041-2/+2
|
* timers: only have initiator rekeyJason A. Donenfeld2016-10-191-0/+1
| | | | | | | | | If it's time to rekey, and the responder sends a message, the initator will begin the rekeying when sending his response message. In the worst case, this response message will actually just be the keepalive. This generally works well, with the one edge case of the message arriving less than 10 seconds before key expiration, in which the keepalive is not sufficient. In this case, we simply rehandshake immediately.
* Rework headers and includesJason A. Donenfeld2016-09-291-0/+1
|
* tests: make fatalJason A. Donenfeld2016-06-251-1/+1
|
* Initial commitJason A. Donenfeld2016-06-251-0/+61