path: root/src/packets.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-09-18queue: entirely rework parallel systemJason A. Donenfeld1-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.
2017-06-26global: cleanup IP header checkingJason A. Donenfeld1-1/+13
This way is more correct and ensures we're within the skb head.
2017-05-31timers: reset retry-attempt counter when not retryingJason A. Donenfeld1-1/+1
2017-04-04data: simplify flowJason A. Donenfeld1-4/+5
2017-03-20data: big refactoringJason A. Donenfeld1-2/+8
2017-01-10Update copyrightJason A. Donenfeld1-1/+1
2016-12-16types: enforce consistencyJason A. Donenfeld1-2/+4
2016-12-11device: clean up xmit error pathJason A. Donenfeld1-1/+1
2016-11-21headers: cleanup noticesJason A. Donenfeld1-1/+1
2016-11-16packets: consolidate constantsJason A. Donenfeld1-11/+0
2016-11-15socket: keep track of src address in sending packetsJason A. Donenfeld1-1/+1
2016-11-07send: simplify handshake initiation queueing and introduce lockJason A. Donenfeld1-6/+3
2016-11-06data: only uses kmem_cache for parallismJason A. Donenfeld1-0/+3
2016-11-04data: use a memory cache for parallel ctxJason A. Donenfeld1-0/+2
2016-11-04send: queue bundles on same CPUJason A. Donenfeld1-14/+2
2016-11-04data: use smaller typesJason A. Donenfeld1-2/+2
2016-10-19timers: only have initiator rekeyJason A. Donenfeld1-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.
2016-09-29Rework headers and includesJason A. Donenfeld1-0/+1
2016-06-25tests: make fatalJason A. Donenfeld1-1/+1