summaryrefslogtreecommitdiffstats
path: root/src/plugins/ikev2/ikev2_priv.h
diff options
context:
space:
mode:
authorDenys Haryachyy <garyachy@gmail.com>2024-02-20 09:59:55 +0200
committerBeno�t Ganne <bganne@cisco.com>2024-04-23 08:52:23 +0000
commit07b227407329e9a1ad5d8c949278a747be93b7ee (patch)
tree8f256bf349c06fd980b5fa1b2b26fea90463af66 /src/plugins/ikev2/ikev2_priv.h
parentbbee45c80b7b633a7c4f923317ec6d5c26edfcbb (diff)
ikev2: uptime
Introduced SA and child SA uptime. Type: improvement Change-Id: I28cf9f90d35ebe035a31ed0a985a5e462c8536a8 Signed-off-by: Denys Haryachyy <garyachy@gmail.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2_priv.h')
-rw-r--r--src/plugins/ikev2/ikev2_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/ikev2/ikev2_priv.h b/src/plugins/ikev2/ikev2_priv.h
index a11538f92c7..0639809e9b1 100644
--- a/src/plugins/ikev2/ikev2_priv.h
+++ b/src/plugins/ikev2/ikev2_priv.h
@@ -307,6 +307,8 @@ typedef struct
f64 time_to_expiration;
u8 is_expired;
i8 rekey_retries;
+
+ f64 timestamp;
} ikev2_child_sa_t;
typedef struct
@@ -488,6 +490,8 @@ typedef struct
u8 keys_generated;
ikev2_stats_t stats;
+
+ f64 auth_timestamp;
} ikev2_sa_t;