aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon-tkm/tests/kernel_sad_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* charon-tkm: Build fix for kernel SAD testsAdrian-Ken Rueegsegger2017-08-141-2/+2
| | | | | Commit 7729577... added a flag to the get_esa_id function but the unit tests were not adjusted.
* charon-tkm: Call esa_reset() when the inbound SA is deletedTobias Brunner2017-08-071-2/+16
| | | | | | | | | After a rekeying the outbound SA and policy is deleted immediately, however, the inbound SA is not removed until a few seconds later, so delayed packets can still be processed. This adds a flag to get_esa_id() that specifies the location of the given SPI.
* charon-tkm: Remove unused get_other_esa_id() methodTobias Brunner2017-08-071-36/+0
|
* charon-tkm: Also store local SPI in SADAdrian-Ken Rueegsegger2015-05-041-9/+9
|
* charon-tkm: Add get_other_esa_id function to TKM kernel SADAdrian-Ken Rueegsegger2015-05-041-0/+36
| | | | | The function gets the ESA id for another entry associated with the same security policy as the specified ESA.
* charon-tkm: Add get_dst_host getter to SADReto Buerki2015-02-201-0/+28
| | | | | This function returns the destination host of an SAD entry for given reqid, spi and protocol arguments or NULL if not found.
* charon-tkm: Store reqid in SADReto Buerki2015-02-201-6/+6
|
* charon-tkm: Migrate tests to our own test runnerTobias Brunner2013-11-271-4/+19
| | | | | | Due to problems with the external libraries tkm_init/deinit can't be called for each test case. Because of this leak detective has to be disabled for these tests.
* Implement TKM kernel SA database (SAD)Adrian-Ken Rueegsegger2013-03-191-0/+122
The TKM kernel SAD (security association database) stores information about CHILD SAs.