diff options
Diffstat (limited to 'src/libcharon/plugins/ha/ha_kernel.h')
-rw-r--r-- | src/libcharon/plugins/ha/ha_kernel.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libcharon/plugins/ha/ha_kernel.h b/src/libcharon/plugins/ha/ha_kernel.h index b9341f4cc..5e8c054ab 100644 --- a/src/libcharon/plugins/ha/ha_kernel.h +++ b/src/libcharon/plugins/ha/ha_kernel.h @@ -39,6 +39,15 @@ struct ha_kernel_t { u_int (*get_segment)(ha_kernel_t *this, host_t *host); /** + * Get the segment a host/SPI is in, as used for CHILD_SA segmentation. + * + * @param host host to get segment for + * @param spi SPI to include in hash + * @return segment number + */ + u_int (*get_segment_spi)(ha_kernel_t *this, host_t *host, u_int32_t spi); + + /** * Activate a segment at kernel level for all cluster addresses. * * @param segment segment to activate |