path: root/src/fixedmap.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove refcnt from fixedmapMatt Dunwoodie2019-10-021-9/+5
* I don't have a good commit message for thisMatt Dunwoodie2019-10-021-0/+1
| | | | | | | | | | | Changes: * Move fixedmap lock to fixedmap struct, rather than relying on d_lock. * Adjust outq to supply the ID to lookup later. This requires the caller to know the standard convention, peer id on initiation, session id otherwise. * Added fixed number session management, that is one handshake session, one current session and one old session. * Fix some ref counting
* Big re-work of wireguard.cMatt Dunwoodie2019-09-301-12/+16
* Move functions from header files into dedicated fileMatt Dunwoodie2019-09-221-105/+0
| | | | | | | | The header files were nice while experimenting, but they are not ideal. Currently we have all the custom data structures in kerk/kern_wg.c, which would ideally not be named after wireguard, But for the time being, at least they're organised.
* Uppercase macros in fixedmap.hMatt Dunwoodie2019-09-021-14/+14
* Add fixedmap.h, with the intention to replace hashmap.hMatt Dunwoodie2019-08-221-0/+151