summaryrefslogtreecommitdiff
path: root/proto/rpki/rpki.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-06-14 16:32:15 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-12-07 13:52:21 +0100
commitd59c1a295834aa5cc63aceb6769c8413fa0639fe (patch)
tree96c090a994b71c039466114fe84da57a561f9159 /proto/rpki/rpki.h
parent21f4f0f4b0785e30ce2af4741ffa6f2ebdd7d714 (diff)
RPKI: Update to new timers
Diffstat (limited to 'proto/rpki/rpki.h')
-rw-r--r--proto/rpki/rpki.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/rpki/rpki.h b/proto/rpki/rpki.h
index 80ef83df..8972b33a 100644
--- a/proto/rpki/rpki.h
+++ b/proto/rpki/rpki.h
@@ -60,11 +60,11 @@ struct rpki_cache {
u8 request_session_id; /* 1: have to request new session id; 0: we have already received session id */
u32 serial_num; /* Serial number denotes the logical version of data from cache server */
u8 version; /* Protocol version */
- bird_clock_t last_update; /* Last successful synchronization with cache server */
- bird_clock_t last_rx_prefix; /* Last received prefix PDU */
+ btime last_update; /* Last successful synchronization with cache server */
+ btime last_rx_prefix; /* Last received prefix PDU */
/* Intervals can be changed by cache server on the fly */
- u32 refresh_interval; /* Actual refresh interval */
+ u32 refresh_interval; /* Actual refresh interval (in seconds) */
u32 retry_interval;
u32 expire_interval;
timer *retry_timer; /* Retry timer event */