/* Enter the Graceful Restart mode. */
void ospf6_gr_restart_enter(struct ospf6 *ospf6,
- enum ospf6_gr_restart_reason reason, int timestamp)
+ enum ospf6_gr_restart_reason reason,
+ time_t timestamp)
{
unsigned long remaining_time;
extern void ospf6_gr_iface_send_grace_lsa(struct event *thread);
extern void ospf6_gr_restart_enter(struct ospf6 *ospf6,
enum ospf6_gr_restart_reason reason,
- int timestamp);
+ time_t timestamp);
extern void ospf6_gr_check_lsdb_consistency(struct ospf6 *ospf,
struct ospf6_area *area);
extern void ospf6_gr_nvm_read(struct ospf6 *ospf);
/* Enter the Graceful Restart mode. */
void ospf_gr_restart_enter(struct ospf *ospf,
- enum ospf_gr_restart_reason reason, int timestamp)
+ enum ospf_gr_restart_reason reason, time_t timestamp)
{
unsigned long remaining_time;
extern void ospf_gr_iface_send_grace_lsa(struct event *thread);
extern void ospf_gr_restart_enter(struct ospf *ospf,
enum ospf_gr_restart_reason reason,
- int timestamp);
+ time_t timestamp);
extern void ospf_gr_check_lsdb_consistency(struct ospf *ospf,
struct ospf_area *area);
extern void ospf_gr_check_adjs(struct ospf *ospf);