aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/kernel/kernel_interface.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-09-23 12:28:13 +0200
committerMartin Willi <martin@revosec.ch>2013-10-11 10:23:17 +0200
commitc99458e94ebb98080153a17d4a47db2005634e65 (patch)
tree43ef79d2cb5b2a8f86e3dc15ce23fd0655361a3a /src/libhydra/kernel/kernel_interface.h
parentb59bcba2b38dda5f0f6301b7ae90acc58b4a069b (diff)
downloadstrongswan-c99458e94ebb98080153a17d4a47db2005634e65.tar.bz2
strongswan-c99458e94ebb98080153a17d4a47db2005634e65.tar.xz
kernel: Use a time_t to report use time in query_sa()
Diffstat (limited to 'src/libhydra/kernel/kernel_interface.h')
-rw-r--r--src/libhydra/kernel/kernel_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhydra/kernel/kernel_interface.h b/src/libhydra/kernel/kernel_interface.h
index 1d96f1c35..f42d98f92 100644
--- a/src/libhydra/kernel/kernel_interface.h
+++ b/src/libhydra/kernel/kernel_interface.h
@@ -200,12 +200,12 @@ struct kernel_interface_t {
* @param mark optional mark for this SA
* @param[out] bytes the number of bytes processed by SA
* @param[out] packets number of packets processed by SA
- * @param[out] time last time of SA use
+ * @param[out] time last (monotonic) time of SA use
* @return SUCCESS if operation completed
*/
status_t (*query_sa) (kernel_interface_t *this, host_t *src, host_t *dst,
u_int32_t spi, u_int8_t protocol, mark_t mark,
- u_int64_t *bytes, u_int64_t *packets, u_int32_t *time);
+ u_int64_t *bytes, u_int64_t *packets, time_t *time);
/**
* Delete a previously installed SA from the SAD.