diff options
Diffstat (limited to 'src/libcharon/plugins/ha/ha_kernel.h')
-rw-r--r-- | src/libcharon/plugins/ha/ha_kernel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libcharon/plugins/ha/ha_kernel.h b/src/libcharon/plugins/ha/ha_kernel.h index 5e8c054ab..7b56f1e3a 100644 --- a/src/libcharon/plugins/ha/ha_kernel.h +++ b/src/libcharon/plugins/ha/ha_kernel.h @@ -48,6 +48,13 @@ struct ha_kernel_t { u_int (*get_segment_spi)(ha_kernel_t *this, host_t *host, u_int32_t spi); /** + * Get the segment an arbitrary integer is in. + * + * @param n integer to segmentate + */ + u_int (*get_segment_int)(ha_kernel_t *this, int n); + + /** * Activate a segment at kernel level for all cluster addresses. * * @param segment segment to activate |