]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_top.h
*: Convert thread_timer_remain_XXX to event_timer_remain_XXX
[mirror_frr.git] / ospf6d / ospf6_top.h
index 08595a69d0c2f9b661fcd425473f29c5e00aab8c..73c875124a25edb32381bf339df1287eb378d675 100644 (file)
@@ -51,7 +51,7 @@ struct ospf6_gr_info {
        bool prepare_in_progress;
        bool finishing_restart;
        uint32_t grace_period;
-       struct thread *t_grace_period;
+       struct event *t_grace_period;
 };
 
 struct ospf6_gr_helper {
@@ -168,14 +168,14 @@ struct ospf6 {
 
        int fd;
        /* Threads */
-       struct thread *t_spf_calc; /* SPF calculation timer. */
-       struct thread *t_ase_calc; /* ASE calculation timer. */
-       struct thread *maxage_remover;
-       struct thread *t_distribute_update; /* Distirbute update timer. */
-       struct thread *t_ospf6_receive; /* OSPF6 receive timer */
-       struct thread *t_external_aggr; /* OSPF6 aggregation timer */
+       struct event *t_spf_calc; /* SPF calculation timer. */
+       struct event *t_ase_calc; /* ASE calculation timer. */
+       struct event *maxage_remover;
+       struct event *t_distribute_update; /* Distirbute update timer. */
+       struct event *t_ospf6_receive;     /* OSPF6 receive timer */
+       struct event *t_external_aggr;     /* OSPF6 aggregation timer */
 #define OSPF6_WRITE_INTERFACE_COUNT_DEFAULT 20
-       struct thread *t_write;
+       struct event *t_write;
 
        int write_oi_count; /* Num of packets sent per thread invocation */
        uint32_t ref_bandwidth;
@@ -205,7 +205,7 @@ struct ospf6 {
 
        /* Count of NSSA areas */
        uint8_t anyNSSA;
-       struct thread *t_abr_task; /* ABR task timer. */
+       struct event *t_abr_task; /* ABR task timer. */
        struct list *oi_write_q;
 
        uint32_t redist_count;