From 0a54d3e1a19915f81dea1b942e88e5d637214e0e Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 9 Nov 2012 15:48:37 +0100 Subject: load-tester can dynamically install a dedicated external IP for each IKE_SA For consistency, the local/remote parameters have been replaced by the initiator/responder options. As initiator, the initiator option can be overriden by an addrs section taking key/value pairs with address pools to use on a specific interface. --- src/libcharon/plugins/load_tester/load_tester_config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/libcharon/plugins/load_tester/load_tester_config.h') diff --git a/src/libcharon/plugins/load_tester/load_tester_config.h b/src/libcharon/plugins/load_tester/load_tester_config.h index c22387743..cfa4b1edc 100644 --- a/src/libcharon/plugins/load_tester/load_tester_config.h +++ b/src/libcharon/plugins/load_tester/load_tester_config.h @@ -35,6 +35,13 @@ struct load_tester_config_t { */ backend_t backend; + /** + * Delete external IP if it was dynamically installed. + * + * @param ip external IP + */ + void (*delete_ip)(load_tester_config_t *this, host_t *ip); + /** * Destroy the backend. */ -- cgit v1.2.3