unity: Reference IKE_SAs by the IKEv1 COOKIEs, improving lookup performance
authorMartin Willi <martin@revosec.ch>
Mon, 27 Oct 2014 15:16:13 +0000 (16:16 +0100)
committerMartin Willi <martin@revosec.ch>
Fri, 20 Feb 2015 12:34:52 +0000 (13:34 +0100)
commitfa42367ca1af350ce11e12daf1d2ed1174d7cfbe
tree5f5bc6aa68924580f80af4756461bb2f06c9325f
parentdb80d0d2dac7da6fc7d81201728de5b870f09d06
unity: Reference IKE_SAs by the IKEv1 COOKIEs, improving lookup performance

When handling thousands of IKE_SAs, the unique ID based lookup is rather slow,
as we have no indexing.
src/libcharon/plugins/unity/unity_handler.c
src/libcharon/plugins/unity/unity_handler.h
src/libcharon/plugins/unity/unity_narrow.c