Log CHILD_SA segment responsibility

This commit is contained in:
Martin Willi
2010-07-26 13:53:54 +02:00
parent 3e6736f67e
commit 08e266a119
9 changed files with 95 additions and 18 deletions
+9
View File
@@ -38,6 +38,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.
*