Tobias Brunner
1b67166921
Unify format of HSR copyright statements
2018-05-23 16:32:53 +02:00
Tobias Brunner
772957778c
charon-tkm: Call esa_reset() when the inbound SA is deleted
...
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.
2017-08-07 10:46:00 +02:00
Tobias Brunner
dbaeaaf605
charon-tkm: Remove unused get_other_esa_id() method
2017-08-07 10:46:00 +02:00
Tobias Brunner
dad4f6a178
charon-tkm: Return cloned host from tkm_kernel_sad_t::get_dst_host()
...
When an expire is triggered while rekeying, the CHILD_SA might be deleted
while the returned host is still used to queue a rekey job for the CHILD_SA.
2017-06-14 09:57:09 +02:00
Andreas Steffen
b12c53ce77
Use standard unsigned integer types
2016-03-24 18:52:48 +01:00
Adrian-Ken Rueegsegger
38b65d7186
charon-tkm: Also store local SPI in SAD
2015-05-04 18:07:52 +02:00
Adrian-Ken Rueegsegger
c7ce0d96cd
charon-tkm: Add get_other_esa_id function to TKM kernel SAD
...
The function gets the ESA id for another entry associated with the same
security policy as the specified ESA.
2015-05-04 18:07:50 +02:00
Reto Buerki
e12ff07c96
charon-tkm: Add get_dst_host getter to SAD
...
This function returns the destination host of an SAD entry for given
reqid, spi and protocol arguments or NULL if not found.
2015-02-20 13:34:53 +01:00
Reto Buerki
f5fc592ae1
charon-tkm: Store reqid in SAD
2015-02-20 13:34:53 +01:00
Adrian-Ken Rueegsegger
7f21523abd
Add charon-tkm API documentation
2013-03-19 15:23:51 +01:00
Adrian-Ken Rueegsegger
1e13904f45
Implement TKM kernel SA database (SAD)
...
The TKM kernel SAD (security association database) stores information
about CHILD SAs.
2013-03-19 15:23:48 +01:00