diff options
author | Martin Willi <martin@revosec.ch> | 2013-03-13 11:31:36 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2013-03-14 14:20:54 +0100 |
commit | 7eeeb1c70226bf5738c367f9903bada5fdde7dab (patch) | |
tree | e53c67494f0ef2b56fff4672cee679687bfaa782 /src/libcharon/plugins/load_tester/load_tester_ipsec.c | |
parent | 003452d18fbc73bc048085752ee0a61656250adf (diff) | |
download | strongswan-7eeeb1c70226bf5738c367f9903bada5fdde7dab.tar.bz2 strongswan-7eeeb1c70226bf5738c367f9903bada5fdde7dab.tar.xz |
kernel_ipsec_t.query_sa() additionally returns the number of processed packets
Diffstat (limited to 'src/libcharon/plugins/load_tester/load_tester_ipsec.c')
-rw-r--r-- | src/libcharon/plugins/load_tester/load_tester_ipsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_ipsec.c b/src/libcharon/plugins/load_tester/load_tester_ipsec.c index ded6b2d20..4f84845a3 100644 --- a/src/libcharon/plugins/load_tester/load_tester_ipsec.c +++ b/src/libcharon/plugins/load_tester/load_tester_ipsec.c @@ -70,7 +70,8 @@ METHOD(kernel_ipsec_t, update_sa, status_t, METHOD(kernel_ipsec_t, query_sa, status_t, private_load_tester_ipsec_t *this, host_t *src, host_t *dst, - u_int32_t spi, u_int8_t protocol, mark_t mark, u_int64_t *bytes) + u_int32_t spi, u_int8_t protocol, mark_t mark, + u_int64_t *bytes, u_int64_t *packets) { return NOT_SUPPORTED; } @@ -145,4 +146,3 @@ load_tester_ipsec_t *load_tester_ipsec_create() return &this->public; } - |